PDA

View Full Version : [ubuntu] command to remove proxy



vksingh
August 30th, 2009, 10:46 AM
I exported proxy by using following command:

$ export http_proxy="http://192.168.3.254:8080"

$ export ftp_proxy="http://192.168.3.254:8080"

I want to remove the above exported proxy. Please help...:(

kerry_s
August 30th, 2009, 11:01 AM
log out & back in.

you could also try doing it again but have it blank.
export http_proxy=""

vksingh
October 5th, 2009, 06:28 PM
Thanks , It worked.

In which file ubuntu saves the proxy server IP address and related details?

Please Help..........

Lars Noodén
October 5th, 2009, 09:36 PM
I exported proxy by using following command:

$ export http_proxy="http://192.168.3.254:8080"

$ export ftp_proxy="http://192.168.3.254:8080"

I want to remove the above exported proxy. Please help...:(


unset http_proxy;
unset ftp_proxy;

vksingh
October 5th, 2009, 09:47 PM
can you please tell me in which file in ubuntu does the proxy is stored?

Thanks,

Vivek

Lars Noodén
October 6th, 2009, 02:06 PM
can you please tell me in which file in ubuntu does the proxy is stored?


It depends on what you are doing. For package management it might be in
the file /etc/apt/apt.conf or in a file with 'proxy' in the name somewhere in the directory /etc/apt/apt.conf.d/

The individual web browsers seem to have their own settings.