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

Re: How to add dir to path



Hi Orestes,

On 8/10/07, Orestes leal <orestesleal13022@cha.jovenclub.cu> wrote:

> 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.


Thanks for your response.
Well, it's a single user machine, anyway.
 
Manon.


Reply to: