curl --version
curl [OPTIONS] [URL]
curl testdomain.com
curl -O http://testdomain.com/testfile.tar.gz
testfile.tar.gz. curl -o
newtestfile.tar.gz http://testdomain.com/testfile.tar.gz
curl -C - -O http://testdomain.com/testfile.tar.gz
Asimismo, utilizando curl es posible descargar diferentes archivos, tal cual se enseña aquí abajo:curl -O http://testdomain.com/testfile.tar.gz -O
http://mydomain.com/myfile.tar.gz
xargs –n 1 curl -O < allUrls.txt
curl -x sampleproxy.com:8090 -U username:password -O http:// testdomain.com/testfile.tar.gz
curl -I www.testdomain.com
curl http://mydomain.com
curl –data “text=Hello” https://myDomain.com/firstPage.jsp
curl –data “text=Hello” https://myDomain.com/firstPage.jsp --next https://myDomain.com/displayResult.jsp
“GET / HTTP/1.1” 200 “_” ”curl/7/29/0”
curl -I http://mydomain.com –-user-agent “My new Browser”
“GET / HTTP/1.1” 200 “_” ”My new Browser”
curl --cookie-jar Mycookies.txt https://www.samplewebsite.com /index.html -O
curl --cookie Mycookies.txt https://www. samplewebsite.com
curl -u username:password -O ftp://sampleftpserver/testfile.tar.gz
curl -u username:password -T testfile.tar.gz ftp://sampleftpserver
curl --limit-rate 100K http://testdomain.com/samplefile.tar.gz -O
Desenlace man curl