Hi!
Vivek J. Patankar said the following, On Thursday 29 March 2007 08:38 AM:
आनंद (Anand M R) wrote:
Could someone tell me how to configure proxy setting in bash. I found some links that mention the http_proxy variable to be set, but over there the proxy is of the format http://proxy.abc.com:80
now the proxy i'm using dosn't have the http:// in the begining :(
just append 'http://' with the proxy IP address and port.
# http_proxy=http://<proxy IP or hostname>:<port> # export http_proxy
Below is the perfect proxy setting in bash...
#export http_proxy=http://username:password@<IP of Proxy Server>:<port>
If proxy authentication is not ther then below would be enough...
#export http_proxy=http://<IP of Proxy Server>:<port>