curl -x http://127.0.0.1:8087 github.com
wget -e "http_proxy=127.0.0.1:8087" github.com
shell> cat ~/.wgetrc
https_proxy = http://127.0.0.1:8087
http_proxy = http://127.0.0.1:8087
ftp_proxy = http://127.0.0.1:8087
use_proxy = on
continue = on
check_certificate = off
shell> cat ~/.curlrc
-L
proxy = 127.0.0.1:8087
沉稳的人或许会想到重新开启wget, 并使用 -c断点续传, 可是有时候, 因为N个g的东西突然断了, 一冲动就晕了, 就纠结了, 可能就会就重新跑wget了, 甚至截止到本文还有人不知道-c.
那么为了杯具不再发生, 我们可以让wget每次运行的时候自动加上 -c参数, 那样就万事大吉了嘛. 方法如下
在家目录下新建文件".wgetrc", 内容如下:
continue = on
保存退出, 以后再使用wget就会自动断点续传了, Y, 演示如下:
]]>