Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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!

share|improve this question

1 Answer 1

Ok deleting the lines from bash_profile did the trick!

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.