1. Open the GZIP requestCurl-i http://www.sina.com.cn/-H accept-encoding:gzip,defalte2, monitoring the response time of the Web pageCurl-o/dev/null-s-W "time_connect:%{time_connect}\ntime_starttransfer:%{time_starttransfer}\ntime_total:%{time_ total}
Original address: http://blog.sina.com.cn/s/blog_4b9eab320100slyw.html
Can be viewed as a command line browser
1. Open the GZIP requestCurl-i http://www.sina.com.cn/-H accept-encoding:gzip,defalte2, monitoring the response time of the Web pageCurl-o/
Linux curl is a file transfer tool that works under the command line using URL rules. It supports file uploads and downloads, so it is a comprehensive transfer tool, but traditionally, the URL is used as a download tool.1, crawl the page content
download a single file and print the output to the standard output (STDOUT) in Curl HTTP by default://www.centos.orgSave the downloaded file to the specified file via the-o/-o option:-o: Save the file as the file name specified on the command line-O:
CURL, curlhttp
CURL? Well, it's a long time ~~~~
This is now one of the built-in command line tools on the Apple machine.
1). Let's start from here!
Curl http://www.yahoo.com
After you press enter, the html of www.yahoo.com is displayed on the
CURL? Well, it's a long story.This thing is now one of the built-in command-line tools on the Apple machine, and it shows its charm.1)Apart, let's start from here!Java code
Curl http: //www.yahoo.com
After the carriage return, the
Http://www.linuxidc.com/Linux/2008-01/10891.htm--------------------------------------------------Linux Curl Usage Brief Introduction[Date: 2008-01-29] Source: Linux commune NotechCurl is the next most powerful HTTP command-line tool in Linux, and it'
Linux Curl Usage Brief Introduction[Date: 2008-01-29] Source: Linux commune NotechCurl is the next most powerful HTTP command-line tool in Linux, and it's very powerful.1) Apart, let's start from here!$ Curl Http://www.linuxidc.comAfter the carriage
Http://www.linuxidc.com/Linux/2008-01/10891.htmHttp://www.cnblogs.com/-clq/archive/2012/01/29/2330827.html--------------------------------------------------Linux Curl Usage Brief Introduction[Date: 2008-01-29] Source: Linux commune NotechCurl is the
Curl is the next most powerful HTTP command-line tool in Linux, and it's very powerful.1) Apart, let's start from here!$ Curl Http://www.linuxidc.comAfter the carriage return, the www.linuxidc.com HTML is splinters on the screen ~2) Well, if you
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.