curl# return headers only# curl -I http://foo.comdownload a file using its remote name# curl -O http://foo.com/bar.txtdownload a file and change its name# curl http://foo.com/bar.txt -o baz.txtResources# man page The Art Of Scripting HTTP Requests Using Curl Everything curl