grep -i #忽略大小写

curl -i #参数可以显示http response的头信息,连同网页代码一起

curl -I #只显示http response的头信息

curl -v #显示一次http通信的整个过程,包括端口连接和http request头信息

curl --trace output.txt www.baidu.com #查看更详细的通信过程,是-v的增强版

curl -o [文件名] www.baidu.com #如果要把网页保存下来,可以使用-o参数,这就相当于wget命令了。

curl -L #自动跳转到新的网址

curl -s #静态模式,不显示任何东西

curl -S #make curl show errors when they occur

curl -k #allow connections to ssl sites without certs

curl -m #maximum time allowed for the transfer

 

相关文章:

  • 2022-12-23
  • 2021-04-11
  • 2021-11-04
  • 2021-09-17
  • 2018-06-04
  • 2021-09-01
  • 2021-10-23
  • 2021-09-08
猜你喜欢
  • 2021-07-01
  • 2021-10-13
  • 2022-12-23
  • 2022-12-23
  • 2022-01-27
  • 2021-12-17
  • 2022-02-15
相关资源
相似解决方案