Re: How to add dir to path
On 8/10/07, Mumia W.. <firstname.lastname@example.org> wrote:
> I want to add the dir ~/scripts to my path, what command do I use for that?
> M> echo $PATH
> But how do I add ~/scripts to that path?
> Thanks, Manon.
I believe the correct way to do this is to set the path in ~/.bashrc.
Set it like so:
I've tried some of the other ways discussed in the thread, and they
didn't work. I hope this helps.
Thanks for your reply. I already discovered that adding it to .bash_profile
doesn't work, but to .bashrc does. But someone told me it should belong
Well, I don't know, but adding it to .bashrc works and I'm glad to know
that I'm not the only one with this 'problem'.