Notes
curl website
works similar to using wget. It gets that webpage.curl protocol://server.com:port
lets you specify more about the online resource-L, --location
lets you follow HTTP level redirects. Ie, curl google.com -L
will follow the HTTP 301 redirect from google.com to www.google.com-o FILE
outputs to FILE instead of printing to stdout.-O
(capital O) outputs to a file with the same name as the file online--libcurl FILE
outputs c code that uses libcurl and has the same effect as the curl command. This was introduced in version 7.16.1