curl output to file code example
Example 1: curl output to a file
curl http://www.mysite.com -o myoutputfile.txt
Example 2: how to download using curl
curl http://some.url --output some.file
Example 3: curl download file without output
curl -O https://www.cyberciti.biz/files/sticker/sticker_book.pdf
Example 4: how to download a text file with curl
//this downloads the file specified
curl "http://standards-oui.ieee.org/oui/oui.txt" --output macvendors.txt