Using BASH and "~/.profile" versus "/root/.profile" versus "/etc/profile" & Linux access to the Internet
Setting up the http_proxy enviroment variable
For programs that use other shells(such as sh, dash, and ksh) repeat the process above with the file "~/.profile", "/etc/profile", and "/root/.profile".
If you are concerned about your password being in the .bashrc file you can change the permissions of the file so only you can read it with the command:
chmod 700 .profile
To test your setting try the following command:
wget www.google.com
If it sucessfully downloads index.html then you are connected through webproxy!