-
-
Save Haeniken/2569b19a20b41bb817564fd1ae9d1dc4 to your computer and use it in GitHub Desktop.
curl location and headers
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 | |
echo '```' | |
echo -e "\e[1;33m$ curl -LI" $1 "\e[0m" | |
curl -LI $1; | |
echo '```' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment