Created
September 28, 2014 02:33
-
-
Save nyango/5cdf7ad6fd9448cec191 to your computer and use it in GitHub Desktop.
URLの画像やページが存在するかシェル上で確認 ref: http://qiita.com/jamejammy/items/6875f80bf85d92dddef8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -v http://qiita.com/jamejammy/items/671a14ae2834c045fe27 2>&1 1>/dev/null | awk '{if($2~"HTTP") print}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -v http://qiita.com/jamejammy/items/671a14ae2834c045fe26 2>&1 1>/dev/null | awk '{if($2~"HTTP") print}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -v http://qiita.com/jamejammy/items/671a14ae2834c045fe27 2>&1 1>/dev/null | awk '{if($2~"HTTP") print $3}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -v http://qiita.com/jamejammy/items/671a14ae2834c045fe26 2>&1 1>/dev/null | awk '{if($2~"HTTP") print $3}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment