[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Why ifconfig doesn't work in CentOS?

Posted on 2010-11-12
1
Medium Priority
?
1,981 Views
Last Modified: 2013-11-08
Hi,

I newly installed a CentOS, but when I tried to use ifconfig to find out the ip address of the machine.  the command doesn't work.  It seems like the ifconfig command is not there.  Please help.  Thanks.

Tom
0
Comment
Question by:pisceswzh2010
1 Comment
 

Accepted Solution

by:
pisceswzh2010 earned 0 total points
ID: 34123224
I found the answer.  The reason is the ifconfig is not in the default user folder.  Instead it works by specifying the folder.

/sbin/ifconfig works fine.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question