Archive
Archive for the ‘Bash’ Category
Bash http_proxy: from a user environment to sudo one
October 14, 2010
6 comments
Hi. Sometimes you can’t connect directly to internet, because you have to go through a proxy (i.e. working environment).
Did you ever have to set up an http proxy on linux shell in order to (i.e) download a new package or manually update your distribution with a packet manager?
If so, you need to be a superuser. If you use the “sudo” command, you will probably stumbled across the inability to export variables from the user environment to the “sudo” one.
Read more…
Categories: Bash, GNU/Linux
Bash, http_proxy, Linux, sudo export