gpt4 book ai didi

linux - 破译 wget 命令

转载 作者:太空宇宙 更新时间:2023-11-04 10:30:31 28 4
gpt4 key购买 nike

我正在尝试设置一个 cron 作业,我收到了以下命令:wget -0 - -t 1 但我无法完全弄清楚如何使用此资源: http://www.computerhope.com/unix/wget.htm .

-0 - -t 1 是什么意思?谢谢!

最佳答案

根据您链接的 wget 手册(以及我自己在 Ubuntu 机器上的 man wget),没有 -0 选项。也许它应该是大写字母 O?

这是有道理的,因为 -O 用于指定输出文件名。

-O file: The documents will not be written to the appropriate files, but all will be concatenated together and written to file. If - is used as file, documents will be printed to standard output, disabling link conversion.

-t代表重试次数

关于linux - 破译 wget 命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40178765/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com