LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-03-2005, 12:54 PM   #1
Xyem
Member
 
Registered: Apr 2005
Distribution: Fedora Core 4
Posts: 100

Rep: Reputation: 15
ifconfig command missing


Title says it all. On both my Fedora Core 4 machines the 'ifconfig' command does not exist, yet I am sure it was there on other installs (such as on my laptop). Is it possible that a yum update removed it? Or has anyone else had the same problem?
 
Old 12-03-2005, 01:24 PM   #2
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
Try

Code:
/sbin/ifconfig
Pete
 
Old 12-03-2005, 01:25 PM   #3
twilli227
Member
 
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760

Rep: Reputation: 30
Have you tried it as root? I think fedora needs root to run ifconfig.
 
Old 12-03-2005, 01:25 PM   #4
Xyem
Member
 
Registered: Apr 2005
Distribution: Fedora Core 4
Posts: 100

Original Poster
Rep: Reputation: 15
Maybe I should look a little harder next time..

Thanks very much!

BTW you don't need to be root

Last edited by Xyem; 12-03-2005 at 01:28 PM.
 
Old 12-03-2005, 01:28 PM   #5
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
when you JUST supply the command name, it implies that the system will find the command in the path of that user (echo $PATH shows your path). By default users don't have /sbin in their path.

so /sbin/ifconfig as shown above will run the command. The command on it's own (no switches) displays the network info, you don't have to be root for that, however you do to modify anything
 
  


Reply


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
connecting /sbin/ifconfig to bash command ifconfig flammable2 Fedora 4 11-12-2005 07:58 AM
ifconfig missing Acronyms Linux - Networking 3 04-15-2005 07:16 AM
ifconfig is missing Zvi Linux - Software 3 12-10-2003 12:56 PM
command ifconfig, route, tracert... missing in /bin mae Red Hat 2 09-18-2003 09:08 AM
ifconfig missing?? MCSquared Linux - Networking 12 02-21-2003 03:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:39 AM.

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