On Fri, 10 Aug 2007 12:45:40 -0500
"Mumia W.." <[EMAIL PROTECTED]> wrote:

> On 08/07/2007 10:32 AM, 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?
> > 
> > Thanks, Manon.
> > 
> 
> I believe the correct way to do this is to set the path in ~/.bashrc. 
> Set it like so:
> 
> PATH=/usr/local/bin:/usr/bin:/bin:/usr/games:$HOME/scripts

This works but, the ~/scripts dir appear for every user?

because if /root/scripts = $HOME/scripts while runnning as root
running as other user this don't work, so if you gonna use only for 
one user this solution it's okay.
 
Best regards,
-olr



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to