Created
April 12, 2017 10:15
-
-
Save valorad/19744083649dbfdc0f09aa86236cb4d6 to your computer and use it in GitHub Desktop.
linux command line tools use proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enable_proxy() { | |
export http_proxy="127.0.0.1:1080" | |
export https_proxy="127.0.0.1:1080" | |
} | |
disable_proxy() { | |
unset http_proxy | |
unset https_proxy | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment