Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2006
  • Last Modified:

Why ifconfig doesn't work in CentOS?

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
pisceswzh2010
Asked:
pisceswzh2010
1 Solution
 
pisceswzh2010Author Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now