curl --cacert ./publick_form_firefox.crt --silent --head https://www.domain.hu | head -n1 | cut -d " " -f2 # HTTP/1.1 200 OK # Date: Thu, 30 Jan 2014 09:33:49 GMT # Server: Apache # Last-Modified: Wed, 31 Oct 2012 14:44:20 GMT # ETag: "3e4050-af5-4cd5bf00dd900" # Accept-Ranges: bytes # Content-Length: 2805 # Content-Type: text/html curl --cacert ./publick_form_firefox.crt -I https://www.domain.hu | head -n1 | cut -d " " -f2 # HTTP/1.1 200 OK # Date: Thu, 30 Jan 2014 09:33:49 GMT # Server: Apache # Last-Modified: Wed, 31 Oct 2012 14:44:20 GMT # ETag: "3e4050-af5-4cd5bf00dd900" # Accept-Ranges: bytes # Content-Length: 2805 # Content-Type: text/html # Speed test curl -o /dev/null -s -w %{time_connect}:%{time_starttransfer}:%{time_total} http://www.domain.hu curl http://www.centos.org > centos-org.html curl -u username:password URL curl -u ftpuser:ftppass -O ftp://ftp_server/public_html/xss.php curl -u username: --key ~/.ssh/id_rsa --pubkey ~/.ssh/id_rsa.pub scp://www.domain.com/~/rhn_register.ogv curl -O -u username:password ftp://www.domain.com/file.iso
http://unitstep.net/blog/2009/05/05/using-curl-in-php-to-access-https-ssltls-protected-sites/
http://www.cyberciti.biz/faq/curl-download-file-example-under-linux-unix/