Skip to content

Instantly share code, notes, and snippets.

@valorad
Created April 12, 2017 10:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save valorad/19744083649dbfdc0f09aa86236cb4d6 to your computer and use it in GitHub Desktop.
Save valorad/19744083649dbfdc0f09aa86236cb4d6 to your computer and use it in GitHub Desktop.
linux command line tools use proxy
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