Ubuntu | 终端设置代理ubuntu设置代理
# we assume you are using socks5.
# if you are using http or https,it's http://127.0.0.1:12333
# attention: port number may be different.
alias setproxy='export ALL_PROXY=socks5://127.0.0.1:1080'
alias unsetproxy='unset ALL_PROXY'