{"id":801,"date":"2014-10-09T10:38:55","date_gmt":"2014-10-09T13:38:55","guid":{"rendered":"http:\/\/blog.abratel.com.br\/?p=801"},"modified":"2014-10-09T10:38:55","modified_gmt":"2014-10-09T13:38:55","slug":"centos-7-ifconfig-command-not-found-minimal-install","status":"publish","type":"post","link":"https:\/\/blog.abratel.com.br\/?p=801","title":{"rendered":"CentOS 7 &#8211; ifconfig command not found (minimal install)"},"content":{"rendered":"<p>As we know recently CentOS 7 is released ,studded with many new features. On the part of exploring the CentOS 7, I encountered with first change. In my last post on finding the CentOS release version on CentOS 7, I gave a brief info that networking related changes is also found.<\/p>\n<p>A few days back I minimal installed CentOS 7 (x86_64) on my local system. On and Before CentOS 6.x releases,I was habitual to use the command called ifconfig . The ifconfing command helps to provide information about the ethernet devices on your system.<\/p>\n<p>On CentOS 6.x and before, ifconfig command by default used to shipped. Whereas in minimal installed CentOS 7 , I have not found ifconfig command.<\/p>\n<p>This will give you the error , ifconfig command not found.<\/p>\n<p>To get the ifconfig command into our system , run the below given command<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nyum install net-tools\r\n<\/pre>\n<p>Now check the ifconfig command and its path in system (which and whereis command will help)<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nifconfig ifconfig -a which ifconfig whereis ifconfig\r\n\r\nifconfig\r\nifconfig -a\r\nwhich ifconfig\r\nwhereis ifconfig\r\n<\/pre>\n<p>How I got to know net-tools package need to be installed<\/p>\n<p>Using yum command with provides or whatprovides options help to give you list of package which is required for that particular command.<\/p>\n<p>As per man page of yum :<\/p>\n<blockquote><p> provides or whatprovides<br \/>\n    Is used to find out which package provides some feature or file. Just use a specific name or a file-glob-syntax wildcards to list the packages available or installed that provide that feature or file.<\/p><\/blockquote>\n<p>We have used the below given command to find which package provides the ifconfig command.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nyum provides ifconfig\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>As we know recently CentOS 7 is released ,studded with many new features. On the part of exploring the CentOS 7, I encountered with first change. In my last post on finding the CentOS release version on CentOS 7, I gave a brief info that&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/801"}],"collection":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=801"}],"version-history":[{"count":1,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/801\/revisions"}],"predecessor-version":[{"id":802,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/801\/revisions\/802"}],"wp:attachment":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=801"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=801"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}