LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-24-2009, 01:54 AM   #1
576378368
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, 02:19 AM   #2
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

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

/sbin/ifconfig

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 02:21 AM.
 
Old 10-24-2009, 03:02 AM   #3
linuxlover.chaitanya
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.
 
  


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
Why "-bash: ifconfig : command not found" when typing "$ifconfig" dangdtvn Linux - Server 9 09-20-2013 07:01 AM
bash: ifconfig: command not found zebias Linux - Newbie 7 11-02-2007 04:14 AM
connecting /sbin/ifconfig to bash command ifconfig flammable2 Fedora 4 11-12-2005 08:58 AM
ifconfig: command not found hetzme Linux - General 2 06-27-2005 01:27 PM
ifconfig!! Command not found!! Azzath Linux - Networking 5 03-01-2005 08:37 AM


All times are GMT -5. The time now is 12:41 PM.

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