LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 09-18-2003, 02:14 AM   #1
LQ Newbie
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
Question command ifconfig, route, tracert... missing in /bin

Hi everybody,

Got a problem with my Red Hat 9. In fact, i can't use any network command, for example ifconfig, route, tracert...
I think the problem is i don't have those commands in /bin.
The message i receive is :
bash: ifconfig: command not found

What can I do ?

Thanks for your help,

Old 09-18-2003, 02:32 AM   #2
LQ Newbie
Registered: Sep 2003
Posts: 2

Original Poster
Rep: Reputation: 0
I found the commands in /sbin, i can access them from this directory, but i can't from the others. I changed my .bash_profile, i add $HOME/sbin, but it doesn't change anything...
Old 09-18-2003, 09:08 AM   #3
Senior Member
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
Log in as "root". Use su --login or su -l or even su - to do it. Don't forget the dash.

Logging in as "root" will give you root's search PATH which includes /sbin and /usr/sbin.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set PATH variable for command tracert? princegbenga Linux - Software 2 06-14-2007 07:48 AM
connecting /sbin/ifconfig to bash command ifconfig flammable2 Fedora 4 11-12-2005 07:58 AM
I am not able to add a new route to my route table using route command prashanth s j Linux - Networking 2 09-03-2005 04:34 AM
Strange ip from the result of tracert command mrpc_cambodia Linux - Networking 4 01-25-2005 06:49 AM
ifconfig? route? gazingdown Linux - General 5 04-09-2003 02:42 PM

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration