【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