1
I'm not sure why, but I keep having to type 'source /etc/environment' in order for my path to be updated correctly. I don't want to type this inside of my bashrc, since I don't want it related to that. This is for a server, and I want to make sure that the environment settings stick.
Thank you
Can you give a little more information regarding context? – Paused until further notice. – 2010-12-07T02:13:57.710
What OS is on the server (if Linux, what distribution)? The standard location for environment variables is
/etc/profile
(system-wide) and~/.profile
(per-user)./etc/environment
is an additiona file used on some distributions. – Gilles 'SO- stop being evil' – 2010-12-07T23:35:37.117@Gilles I believe /etc/environment is the preferred location for system-wide environment variables in Ubuntu. – Ben McCann – 2011-03-28T04:46:33.310