How to set proxy shell – http_proxy variable

| May 21, 2011 | 0 Comments

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

Tags: , , ,

Category: Tips for linux

Leave a Reply

You must be logged in to post a comment.