By ccztux, 31 March, 2017 Linux proxy_switch function Append the following function to: /etc/profile and modify the variable: proxy to fit your requirements: Tags linux bash proxy_switch