Created
November 19, 2016 13:22
-
-
Save 62mkv/15a82e6db93656558f9a0de19e64b6d5 to your computer and use it in GitHub Desktop.
check if web-server responds on request
This file contains 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
#!/bin/bash | |
curl -v http://u.rl/path/; echo $? | |
# -v prints headers; $? is an exit code of last called command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment