UNIX / How to use a proxy at the UNIX prompt

Home | UNIX | Practical

How to use a proxy at the UNIX prompt


As far as the executable you want to use is aware of this (standard) variable,
http_proxy=ht tp://xxxxxxxx:8080
export http_proxy
ftp_proxy=ht tp://xxxxxxxx:8080
export ftp_proxy
Note. please remove the space between "ht" and "tp".
Note. the HTTP protocol is used the for FTP proxy.

With csh/tcsh,
setenv http_proxy ht tp://proxysite.example.com:8080
setenv ftp_proxy ht tp://proxysite.example.com:8080



Sat Nov 8 12:19:48 CET 2008
       © 2008 Pierre-Philipp Braun