How to Use a Proxy Server on the Command Line

By crmanski

You are logged onto a linux machine and need to download something from the internet when in the terminal, but you cannot because it is not using a proxy and your corporate network does not allow direct connections to the internet (A good thing). For instance using a program such a wget. To solve this type these commands at the terminal..

export http_proxy="http://192.168.1.1:8080"
export ftp_proxy="http://192.168.1.1:8080"