Changing $PATH doesn't work?

Posted by Ashwini Chaudhary on Ask Ubuntu See other posts from Ask Ubuntu or by Ashwini Chaudhary
Published on 2012-11-10T17:23:50Z Indexed on 2012/11/16 11:14 UTC
Read the original article Hit count: 270

Filed under:

I was trying to set PATH in etc/environment file, but after adding the desired path the $PATH is showing an error in terminal:

bash: /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games: No such file or directory

Here's the content of environment file:

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/monty/google_appengine"

I was trying to add the path to the folder google_appengine to the PATH as mentioned in this Answer, but it doesn't seem to work.

© Ask Ubuntu or respective owner

Related posts about environment-variables