Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm not experienced with PATH (Any good reference would be appreciated), but I made a mistake and did PATH=/google_appengine, which I'm assuming completely overrid PATH.

Still, I restarted bash and echo'd PATH and found that the folders were back.

mark@mark-laptop:~$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

However, when I then tried to append to it, I got an error that PATH wasn't found. I've looked around Google and couldn't find a good answer. Any help would be appreciated

mark@mark-laptop:~$ PATH = $PATH:/google_appengine
PATH: command not found

share|improve this question

1 Answer 1

up vote 6 down vote accepted

You mustn't use spaces around =, so it should look like this:

PATH=$PATH:/google_appengine
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.