April 2025
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
282930  

Categories

April 2025
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
282930  

ifconfig: command not found – CentOS 7 minimal

ifconfig: command not found – CentOS 7 minimal

 

-bash: ifconfig: command not found
ifconfig is not longer bundled in the minimal image of CentOS 7. You could just use the alternative ip addr which will give you the same info ifconfig gives, but if you’re set in your ways like I am, you will want ifconfig back.

You’ll need to install the net-tools package to get ifconfig back:
yum install net-tools

Issue ifconfig at shell and you should see the output you’re used to.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>