[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to add dir to path



Manon Metten wrote:
Hi,

I want to add the dir ~/scripts to my path, what command do I use for that?

M> echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games

But how do I add ~/scripts to that path?

Do something like this

$ export PATH=~/scripts:$PATH

If you put it into the appropriate startup script it will get done
every time.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!



Reply to: