美文网首页
终端常用命令

终端常用命令

作者: 笙笙哥 | 来源:发表于2022-05-09 10:18 被阅读0次

    终端设置全局代理

    export http_proxy="http://127.0.0.1:1080"
    export https_proxy="http://127.0.0.1:1080"
    

    终端取消全局代理

    unset http_proxy
    unset https_proxy
    unset ftp_proxy
    unset all_proxy
    unset no_proxy
    

    查看是否还存在代理

    env | grep -i proxy
    

    PS : 清空代理需要重新打开 terminal

    相关文章

      网友评论

          本文标题:终端常用命令

          本文链接:https://www.haomeiwen.com/subject/vfbeultx.html