Click to See Complete Forum and Search --> : path settings in Red Hat 7
Mickv
02-17-2001, 10:44 PM
Hi Gents/Ladies,
Yet another newbie question from me. How do check or add a directory to the Linux Path settings?
i.e. I want to see if /usr/sbin/ is in the path settings for it, if not, then I would like to add it.
Thanks once more :)
X_console
02-17-2001, 11:15 PM
echo $PATH
That will show you your current path settings. To add a PATH you can append this to /etc/profile:
export PATH=$PATH:/new/path
Mickv
02-18-2001, 12:56 AM
Thanks for that.
I've checked and the /usr/sbin is in the path, which is good...
The reason I wanted to check is that I have an ISDN modem card installed (which is supposed to work straight out of the box with RH6.1 or later), everything seems setup fine (isdn4k utils etc.). I also have a dialup script configured.
The problem is that when I run the script it initialises the ipppd0, but it stops with the message "ipppd0 temporarily unavailable". Very frustrating, especially when it comes to being a newbie to Linux.