Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-11-2009, 12:07 PM   #1
Registered: Jan 2009
Location: Georgia
Distribution: OpenSuse Fedora
Posts: 64

Rep: Reputation: 17
ifconfig help

Trying to run ifconfig.

Says it is in /sbin and for superusers. So I do cd/sbin, ls | less and I can see the command.

So I do ifconfig again..says in 'intel package' and for supersuser. So I do sudo ifconfig eth0
Then it says installed in 'intel package'. I can't get past this..

Any help would be greatly appreciated.
Old 02-11-2009, 12:20 PM   #2
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Open a terminal and do it like this:
$ sudo ifconfig
[sudo] password for rtrahan:
eth0 .... etc. etc. etc.
the line starting "eth0 ...." is the start of the response from your system (my system actually)

Last edited by jdkaye; 02-11-2009 at 12:21 PM.
Old 02-11-2009, 12:20 PM   #3
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
It should work with sudo ifconfig after a standard Ubuntu installation. Your username must be in the sudoers file list, but I believe this is done automatically for the default user created during install.

Have you changed your default path in bash? Try providing the full path to the executable in the command - sudo /sbin/ifconfig, or whatever it is.

I don't know about the Intel package message.
Old 02-11-2009, 12:33 PM   #4
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
i don't understand your question.
If you want to run ifconfig as non root user, give the whole path
Old 02-12-2009, 05:25 AM   #5
Registered: Jan 2009
Location: Georgia
Distribution: OpenSuse Fedora
Posts: 64

Original Poster
Rep: Reputation: 17
The sudo /sbin/ifconfig is the only one that worked. Thanks to all.


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
Why "-bash: ifconfig : command not found" when typing "$ifconfig" dangdtvn Linux - Server 9 09-20-2013 06:01 AM
connecting /sbin/ifconfig to bash command ifconfig flammable2 Fedora 4 11-12-2005 07:58 AM
ifconfig help riffe Linux - Networking 2 07-31-2004 09:33 AM
ifconfig gubak Linux - Networking 3 07-16-2004 06:23 AM
ifconfig neozero62 Linux - Newbie 1 12-09-2003 11:41 PM > Forums > Linux Forums > Linux - Newbie

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

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