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

Re: path change



The most easy way is to explicitly set the PATH variable to the value
you want.
For example, you could insert into you .profile file something similar
to

PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/X11R6/bin:/root/bin:/usr/bin/make:/usr/bin:/usr/local/bin"
export PATH

Alexey Fadyushin
Brainbench MVP for Linux
http://www.brainbench.com


bulent acikgoz пишет:
> 
> Hi friends,
> I use RH8.
> I want to change PATH order. My PATH like this,
> 
> [root bulentlnx /]# echo $PATH
> /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:
> /sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/bin/make:
> /usr/bin:/usr/local/bin
> [root bulentlnx /]#
> 
> I want to change /usr/bin before /usr/local/bin
> 
> How can I this?
> Thanks........
> 
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list





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