wget和curl设置代理服务器的命令
2015-05-20 22:08
344 查看
一、wget设置代理
eg:
wget -Y on -e "http_proxy=http://10.0.0.172:9201" "www.wo.com.cn"
此命令使用10.0.0.172:9201这个代理服务器IP和端口访问站点www.wo.com.cn
参数说明
-Y 是否使用代理
-e 执行命令
二、curl设置代理
eg:
curl -x 10.0.0.172:80 www.wo.com.cn
此命令使用10.0.0.172:80这个代理服务器IP和端口访问站点www.wo.com.cn
参数说明
-x 设置代理,格式为host[:port],port的缺省值为1080a
eg:
wget -Y on -e "http_proxy=http://10.0.0.172:9201" "www.wo.com.cn"
此命令使用10.0.0.172:9201这个代理服务器IP和端口访问站点www.wo.com.cn
参数说明
-Y 是否使用代理
-e 执行命令
二、curl设置代理
eg:
curl -x 10.0.0.172:80 www.wo.com.cn
此命令使用10.0.0.172:80这个代理服务器IP和端口访问站点www.wo.com.cn
参数说明
-x 设置代理,格式为host[:port],port的缺省值为1080a
相关文章推荐
- wget和curl设置代理服务器的命令
- wget和curl设置代理服务器的命令
- wget和curl设置代理服务器的命令
- wget和curl设置代理服务器的命令
- wget和curl设置代理服务器的命令
- wget和curl设置代理服务器的命令
- wget和curl设置代理服务器的命令
- wget和curl设置代理服务器的命令
- wget和curl设置代理服务器的命令
- wget和curl设置代理服务器的命令
- wget和curl设置代理服务器的命令
- wget和curl设置代理服务器的命令
- Linux基础命令介绍七:网络传输与安全 wget curl rsync iptables
- wget和curl 命令实例
- shell脚本中常用的命令:wget、curl、ss、lsof、nmap、nc、netstat、telnet
- curl、wget命令总结
- 用curl和wget命令远程查看服务器信息
- Linux命令之curl和wget
- wget 下载不了的文件,因为需要cookie.txt,用curl命令下载
- Linux学习:curl 与 wget命令