Last active
August 29, 2015 14:20
-
-
Save muffl0n/3c3424aa6ab7d598f604 to your computer and use it in GitHub Desktop.
/etc/environment: ubuntu 12 vs 14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ubuntu 12: | |
testuser@ubuntu12:~$ grep http_proxy /etc/environment | |
http_proxy="http://foo.example.com:8080" | |
testuser@ubuntu12:~$ sudo su - -c env |grep http_proxy | |
http_proxy=http://foo.example.com:8080 | |
testuser@ubuntu12:~$ sudo env |grep http_proxy | |
http_proxy=http://foo.example.com:8080 | |
testuser@ubuntu12:~$ env |grep http_proxy | |
http_proxy=http://foo.example.com:8080 | |
Ubuntu 14: | |
testuser@ubuntu14:~$ grep http_proxy /etc/environment | |
http_proxy="http://foo.example.com:8080" | |
testuser@ubuntu14:~$ sudo su - -c env |grep http_proxy | |
http_proxy=http://foo.example.com:8080 | |
testuser@ubuntu14:~$ sudo env |grep http_proxy | |
testuser@ubuntu14:~$ env |grep http_proxy | |
http_proxy=http://foo.example.com:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment