ubuntu proxy

function set_proxy(){
export http_proxy="http://172.19.96.1:10812";
export https_proxy="http://172.19.96.1:10812";
export HTTP_PROXY="http://172.19.96.1:10812";
export HTTPS_PROXY="http://172.19.96.1:10812";
}
function unset_proxy(){
        unset http_proxy HTTP_PROXY https_proxy HTTPS_PROXY
        curl -s "https://ip.jackjyq.com" | grep -E -i "ip:|country:"
}

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注