跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • 关于 Linux curl 命令参数
未分類
15 11 月 2020

关于 Linux curl 命令参数

关于 Linux curl 命令参数

資深大佬 : zxCoder 4

Usage: curl [options...] <url>      --abstract-unix-socket <path> Connect via abstract Unix domain socket      --alt-svc <file name> Enable alt-svc with this cache file      --anyauth       Pick any authentication method  -a, --append        Append to target file when uploading      --basic         Use HTTP Basic Authentication      --cacert <file> CA certificate to verify peer against      --capath <dir>  CA directory to verify peer against  -E, --cert <certificate[:password]> Client certificate file and password      --cert-status   Verify the status of the server certificate      --cert-type <type> Certificate file type (DER/PEM/ENG)      --ciphers <list of ciphers> SSL ciphers to use      --compressed    Request compressed response      --compressed-ssh Enable SSH compression  -K, --config <file> Read config from a file      --connect-timeout <seconds> Maximum time allowed for connection      --connect-to <HOST1:PORT1:HOST2:PORT2> Connect to host  -C, --continue-at <offset> Resumed transfer offset 

比如-a 后面有很多个--axxxxx 是表示如果只写-a 就默认是后面刚好正对的那个--append 吗

大佬有話說 (3)

  • 資深大佬 : IgniteWhite

    是的,只有同一行里对应的可以用-a 简写。

    建议系统了解一下 man 命令,它默认的 pager 是 less,如何使用 less 快速跳转和搜索。其他很多系统命令,比如 systemctl 和 journalctl,用的 pager 也是 less,所以学会使用和配置 less 就可以一劳永逸啦

  • 主 資深大佬 : zxCoder

    @IgniteWhite 多谢 学到了

  • 資深大佬 : julyclyde

    什么叫“很多个–axxxxx”?
    -a 只对应–append 这一个
    和后边–basic 没有任何关系

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具