Solved

Why ifconfig doesn't work in CentOS?

Posted on 2010-11-12
1
1,905 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

776 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