Skip to content

Instantly share code, notes, and snippets.

@pushmon
Last active April 4, 2018 13:47
Show Gist options
  • Save pushmon/1886522 to your computer and use it in GitHub Desktop.
Save pushmon/1886522 to your computer and use it in GitHub Desktop.
Shell
#!/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