Welcome to the most active Linux Forum on the web.
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 10-24-2009, 12:54 AM   #1
LQ Newbie
Registered: Oct 2009
Location: CHINA
Distribution: FEDORA
Posts: 3

Rep: Reputation: 0
bash:ifconfig :command not found

what circumstances can lead to such problems?
Old 10-24-2009, 01:19 AM   #2
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
Originally Posted by 576378368 View Post
what circumstances can lead to such problems?
Please use


The problem occurs normally when the path of executable ifconfig is not appended to your PATH environmental variable

Try to add the :/sbin to your PATH environmental variable....
Hope it helps cheers....

Last edited by vinaytp; 10-24-2009 at 01:21 AM.
Old 10-24-2009, 02:02 AM   #3
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
This can be if you are using the command as non root. I have seen this issue with some distributions if certain commands are not used as root would give error and would need to be explicitly invoked with complete path.


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
bash: ifconfig: command not found zebias Linux - Newbie 7 11-02-2007 03:14 AM
connecting /sbin/ifconfig to bash command ifconfig flammable2 Fedora 4 11-12-2005 07:58 AM
ifconfig: command not found hetzme Linux - General 2 06-27-2005 12:27 PM
ifconfig!! Command not found!! Azzath Linux - Networking 5 03-01-2005 07:37 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:38 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