Last active
April 4, 2018 13:47
-
-
Save pushmon/1886522 to your computer and use it in GitHub Desktop.
Shell
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 | |
set -e # if command fails, exit and do not ping | |
urlstring="http://pshmn.com/eaFnY" | |
curl -L "${urlstring}" | |
# if you prefer wget over curl, use | |
# wget -O - "${urlstring}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment