Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道如果我想使用代理wget,我必须编辑/etc/wgetrc或~/.wgetrc归档并设置代理地址和端口。
wget
/etc/wgetrc
~/.wgetrc
我想知道是否有任何选项可以在wget不编辑任何配置文件的情况下使用和使用代理。
就这样。谢谢。
您可以通过环境传递代理设置,例如:
https_proxy=http://proxy.example.com:3128 wget http://www.example.com