By doing an echo when I am logged in as root I can see I have a lot of junk in my PATH (probably from running tests and then forgetting all about it).

What's the best way to clean it up? I am not looking for anything fancy -- is there a .profile file I can edit? If so, which one (there's too many and I am a newbie!).

Any help appreciated!

link|improve this question

feedback

1 Answer

Ok deleting the lines from bash_profile did the trick!

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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