Tuesday, September 2, 2008

Using wget over proxy in Linux

Just need to export an environment variable "http_proxy".

export http_proxy="http://proxy.example.com:8080"

Simple and easy. If you need the system to remember this, you can add this to /etc/profile for all users or ~/.bash_profile for selected individuals.

No comments: