【CentOS7】curl命令


【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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM