【CentOS7】curl命令

转载:

参考 

https://www.thegeekstuff.com/2012/04/curl-examples/

http://www.cnblogs.com/gbyukg/p/3326825.html

 

-o:小写。保存为命令行中指定的文件名

# curl -o baidu_index.html https://www.baidu.com/index.html

-O:大写。使用URL中默认的文件名

# curl -O http://www.gnu.org/software/gettext/manual/gettext.html

-C:断点续传

# curl -O https://www.baidu.com/index.html
中断后使用下面的续传
# curl -C - -O https://www.baidu.com/index.html

 

相关文章:

  • 2021-11-10
  • 2021-12-09
猜你喜欢
  • 2021-09-25
  • 2021-11-16
相关资源
相似解决方案