Linux代理配置查看

查看当前是否有代理配置

env | grep -i proxy
# 如果有内容的话,可以使用unset去除
unset http_proxy
unset https_proxy
unset all_proxy

添加代理的方式

export http_proxy=http://127.0.0.1
export https_proxy=http://127.0.0.1
export all_proxy=http://127.0.0.1

posted @ 2024-06-07 14:15  Jikefan  阅读(43)  评论(0)    收藏  举报