How to Use a Proxy Server on the Command Line

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″

Advertisements

About Craig Szymanski

Systems Administrator Photography Enthusiast
This entry was posted in Linux and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s