一、使用代理的方法:
1)wget
wget -Y on -e "https_proxy=192.168.1.1:9527" https://bootstrap.pypa.io/get-pip.py
2)curl
curl -x 192.168.1.1:9527 www.baidu.com
二、不使用代理的方法:
1)wget
wget --no-proxy http://192.168.1.2/download/a.txt
2)curl
curl --noproxy '*' -i -F file=@test.mp3 http://192.168.1.2:6666/upload