Saturday, 25 May 2013

Editing the environment variable

Editing the environment variable

I have been trying to edit the environment variable. I had read this and in the section of Persistent environment variable ->System-wide environment variables it is written to change the /etc/environment file, but even after doing that the variable is same as before.
But when I echo $PATH as root user the change is reflected. I have read many questions regarding this on the site but many of the answers given are not recommended according to the article given in the link above.

No comments:

Post a Comment