Last active
December 21, 2015 16:59
-
-
Save yusuke024/6337384 to your computer and use it in GitHub Desktop.
Curl
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
# Download a file | |
curl -O http://example.com/file.txt | |
# Download a file and follow any redirection that may occurs | |
curl -LO http://example.com/file.txt | |
# Download a file to different name | |
curl -o myfile.txt http://example.com/file.txt | |
# or | |
curl http://example.com/file.txt > myfile.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment