How to set proxy shell – http_proxy variable
The http_proxy variable is used by some programs to configure a web proxy. This one has to be an environment variable, so that these programs get a copy of it when you run them. Programs which use this technique for configuring an HTTP proxy include the text-only web browser Lynx and the command wget, which downloads files (or entire websites) from the web. You might set this variable like so:
$ export http_proxy=http://proxy.example.com:3128
Category: Tips for linux
