export http代理

匿名 (未验证) 提交于 2019-12-02 23:49:02

设置代理

export http_proxy=http://127.0.0.1:49776 export https_proxy=$http_proxy export ftp_proxy=$http_proxy export rsync_proxy=$http_proxy export no_proxy="localhost,127.0.0.1" 

取消代理

unset  http_proxy unset https_proxy unset ftp_proxy unset rsync_proxy 

输出当前代理

echo $http_proxy echo $https_proxy 
文章来源: https://blog.csdn.net/u010214802/article/details/90209893
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!