export all_proxy=socks5://127.0.0.1:1080 export http_proxy="http://127.0.0.1:8001"; export HTTP_PROX
export all_proxy=socks5://127.0.0.1:1080
export http_proxy="http://127.0.0.1:8001"; export HTTP_PROXY="http://127.0.0.1:8001"; export https_proxy="http://127.0.0.1:8001"; export HTTPS_PROXY="http://127.0.0.1:8001"
仅对当前命令行生效
test :
curl -i http://ip.cn
curl ipinfo.io