Common functions of Linux CURL 1. download the file www.2cto.com # curl-u username: password-o ftp from ftp: // ip/file % Total % Received % Xferd Average Speed Time Current Dload Upload Total Spent Left Speed100 37986 100 37986 0 0 27854 0 0:00:01 0:00:01 --:--: -- 29561 2, read access to a URL Header information www.2cto.com # curl-I http://www.jjwxc.netHTTP/1.1 200 OKContent-Type: text/htmlVary: Accept-encodingAccept-Ranges: bytesContent-Encoding: gzipLast-Modified: Tue, 05 Feb 2013 17:19:15 GMTContent-Length: 11495 Date: Wed, 06 Feb 2013 03:46:30 gmt- Cache: HIT from CU-86-SH-JJCDNX-Cache-Lookup: HIT from CU-86-SH-JJCDN: 80Age: 10375 PowerCDN: HIT from tj6.powercdn. comVia: 1.1 tj6.powercdn.com (PowerCDN/2.4) Connection: close 3, counterfeit source address, some sites will judge, request source address # curl-e http://www.baidu.com http://www.jjwxc.net