{"id":1115,"date":"2021-06-10T08:53:41","date_gmt":"2021-06-10T08:53:41","guid":{"rendered":"https:\/\/www.velaninfo.com\/rs\/?post_type=techtips&#038;p=1115"},"modified":"2021-06-10T09:49:55","modified_gmt":"2021-06-10T09:49:55","slug":"how-to-resolve-ifconfig-not-being-found-in-centos","status":"publish","type":"techtips","link":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-resolve-ifconfig-not-being-found-in-centos\/","title":{"rendered":"How to resolve CentOS 8 \/ RHEL 8&#8217;s ifconfig command not being found?"},"content":{"rendered":"<p><em>ifconfig<\/em> is a command-line utility that displays network interfaces associated to Linux Servers as well as network information like IP addresses, netmask, and so on and network interfaces have been assigned to them.<\/p>\n<p>It also shows the number of transmitted and received network packets, as well as the number of error and dropped packets.<\/p>\n<p>When you use the <em>ifconfig<\/em> command after a minimum CentOS 8 \/ RHEL 8 installation, you can see an error like command not found.<\/p>\n<p><em>bash: ifconfig: command not found<\/em><\/p>\n<p>This post will show you how to get the <em>ifconfig<\/em> command by installing the appropriate packages.<\/p>\n<h3><strong><u>Install ifconfig Package<\/u><\/strong><\/h3>\n<p>Using the YUM command, let&#8217;s see which package supplies the <em>ifconfig<\/em> tool.<\/p>\n<p><em>yumwhatprovidesifconfig<\/em><\/p>\n<p><strong>Output:<\/strong><\/p>\n<p><em>CentOS-8 &#8211; AppStream\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1.1 MB\/s | 6.3 MB\u00a0\u00a0\u00a0\u00a0 00:05<\/em><\/p>\n<p><em>CentOS-8 &#8211; Base\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 954 kB\/s | 7.9 MB\u00a0\u00a0\u00a0\u00a0 00:08<\/em><\/p>\n<p><em>CentOS-8 &#8211; Extras\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 569\u00a0 B\/s | 2.1 kB\u00a0\u00a0\u00a0\u00a0 00:03<\/em><\/p>\n<p><em>Extra Packages for Enterprise Linux 8 &#8211; x86_64\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 617 kB\/s | 3.2 MB\u00a0\u00a0\u00a0\u00a0 00:05<\/em><\/p>\n<p><em>net-tools-2.0-0.51.20160912git.el8.i686 : Basic networking tools<\/em><\/p>\n<p><em>Repo\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : BaseOS<\/em><\/p>\n<p><em>Matched from:<\/em><\/p>\n<p><em>Filename\u00a0\u00a0\u00a0 : \/usr\/sbin\/ifconfig<\/em><\/p>\n<p><em><strong>net-tools<\/strong>-2.0-0.51.20160912git.el8.x86_64 : Basic networking tools<\/em><\/p>\n<p><em>Repo\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : BaseOS<\/em><\/p>\n<p><em>Matched from:<\/em><\/p>\n<p><em>Filename\u00a0\u00a0\u00a0 : \/usr\/sbin\/ifconfig<\/em><\/p>\n<p>Name of the <em>ifconfig<\/em> package: As you can see from the previous line, the net-tools package includes the <em>ifconfig<\/em> command. Using the yum command, install the net-tools package.<\/p>\n<p><em>yum -y install net-tools<\/em><\/p>\n<p><strong>Output:<\/strong><\/p>\n<p><em>Last metadata expiration check: 0:00:51 ago on Mon 04 Nov 2019 09:07:03 AM EST.<\/em><\/p>\n<p><em>Dependencies resolved.<\/em><\/p>\n<p><em>=========================================================================================<\/em><\/p>\n<p><em>\u00a0Package\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Arch\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Version\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Repository\u00a0\u00a0\u00a0\u00a0\u00a0 Size<\/em><\/p>\n<p><em>=========================================================================================<\/em><\/p>\n<p><em>Installing:<\/em><\/p>\n<p><em>net-tools\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 x86_64\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 2.0-0.51.20160912git.el8\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 BaseOS\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 323 k<\/em><\/p>\n<p><em>Transaction Summary<\/em><\/p>\n<p><em>=========================================================================================<\/em><\/p>\n<p><em>Install\u00a0 1 Package<\/em><\/p>\n<p><em>Total download size: 323 k<\/em><\/p>\n<p><em>Installed size: 1.0 M<\/em><\/p>\n<p><em>Downloading Packages:<\/em><\/p>\n<p><em>net-tools-2.0-0.51.20160912git.el8.x86_64.rpm\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 264 kB\/s | 323 kB\u00a0\u00a0\u00a0\u00a0 00:01<\/em><\/p>\n<p><em>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/em><\/p>\n<p><em>Total\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 148 kB\/s | 323 kB\u00a0\u00a0\u00a0\u00a0 00:02<\/em><\/p>\n<p><em>Running transaction check<\/em><\/p>\n<p><em>Transaction check succeeded.<\/em><\/p>\n<p><em>Running transaction test<\/em><\/p>\n<p><em>Transaction test succeeded.<\/em><\/p>\n<p><em>Running transaction<\/em><\/p>\n<p><em>\u00a0 Preparing\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1\/1<\/em><\/p>\n<p><em>\u00a0 Installing\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : net-tools-2.0-0.51.20160912git.el8.x86_64\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1\/1<\/em><\/p>\n<p><em>\u00a0 Running scriptlet: net-tools-2.0-0.51.20160912git.el8.x86_64\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a01\/1<\/em><\/p>\n<p><em>\u00a0 Verifying\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : net-tools-2.0-0.51.20160912git.el8.x86_64\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1\/1<\/em><\/p>\n<p><em>Installed:<\/em><\/p>\n<p><em>net-tools-2.0-0.51.20160912git.el8.x86_64<\/em><\/p>\n<p><em>Complete!<\/em><\/p>\n<p>Once the installation is complete, then run\u00a0<em>ifconfig<\/em>\u00a0to see whether it is available or not.<\/p>\n<p>Once the installation is complete, use <em>ifconfig<\/em> to see if the result shows the network information is available.<\/p>\n<p><em>ifconfig<\/em><\/p>\n<p><strong>Output:<\/strong><\/p>\n<p>View network information with <em>ifconfig<\/em> command<\/p>\n<p>At <strong>Velan<\/strong>, our server support engineers can fix missing components &amp;manage your Linux server.\u00a0If you are interested in our service, please fill the Quick connect form to <a href=\"https:\/\/www.velaninfo.com\/contact\"><strong>get in touch with us<\/strong><\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ifconfig is a command-line utility that displays network interfaces associated to Linux Servers as well as network information like IP addresses, netmask, and so on and network interfaces have been assigned to them. It also shows the number of transmitted and received network packets, as well as the number of error and dropped packets. When&#8230;<a class=\"continue-reading text-uppercase\" href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-resolve-ifconfig-not-being-found-in-centos\/\"> Continue Reading <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/themes\/velaninfo\/images\/reading_arw.png\" alt=\"Continue Reading\" width=\"16\" height=\"12\"\/><\/a><\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"tags":[],"class_list":["post-1115","techtips","type-techtips","status-publish","hentry","Categories_tech_tip-core","Categories_tech_tip-linux","Categories_tech_tip-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.5 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to resolve CentOS 8 | RHEL 8&#039;s version ifconfig comman | Velan<\/title>\n<meta name=\"description\" content=\"How to Setup and resolve CentOS 8 and Red Hat Enterprise Linux ( RHEL 8) ifconfig command not being found. Check and install centos 8 rhel configure latest version here.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-resolve-ifconfig-not-being-found-in-centos\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to resolve CentOS 8 \/ RHEL 8&#039;s ifconfig command not being found?\" \/>\n<meta property=\"og:description\" content=\"How to Setup and resolve CentOS 8 and Red Hat Enterprise Linux ( RHEL 8) ifconfig command not being found. Check and install centos 8 rhel configure latest version here.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-resolve-ifconfig-not-being-found-in-centos\/\" \/>\n<meta property=\"og:site_name\" content=\"Velan\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-10T09:49:55+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-resolve-ifconfig-not-being-found-in-centos\\\/\",\"url\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-resolve-ifconfig-not-being-found-in-centos\\\/\",\"name\":\"How to resolve CentOS 8 | RHEL 8's version ifconfig comman | Velan\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/#website\"},\"datePublished\":\"2021-06-10T08:53:41+00:00\",\"dateModified\":\"2021-06-10T09:49:55+00:00\",\"description\":\"How to Setup and resolve CentOS 8 and Red Hat Enterprise Linux ( RHEL 8) ifconfig command not being found. Check and install centos 8 rhel configure latest version here.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-resolve-ifconfig-not-being-found-in-centos\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-resolve-ifconfig-not-being-found-in-centos\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-resolve-ifconfig-not-being-found-in-centos\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tech Tips\",\"item\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to resolve CentOS 8 \\\/ RHEL 8&#8217;s ifconfig command not being found?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/#website\",\"url\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/\",\"name\":\"Velan\",\"description\":\"Velaninfo Services India Pvt Ltd\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to resolve CentOS 8 | RHEL 8's version ifconfig comman | Velan","description":"How to Setup and resolve CentOS 8 and Red Hat Enterprise Linux ( RHEL 8) ifconfig command not being found. Check and install centos 8 rhel configure latest version here.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-resolve-ifconfig-not-being-found-in-centos\/","og_locale":"en_US","og_type":"article","og_title":"How to resolve CentOS 8 \/ RHEL 8's ifconfig command not being found?","og_description":"How to Setup and resolve CentOS 8 and Red Hat Enterprise Linux ( RHEL 8) ifconfig command not being found. Check and install centos 8 rhel configure latest version here.","og_url":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-resolve-ifconfig-not-being-found-in-centos\/","og_site_name":"Velan","article_modified_time":"2021-06-10T09:49:55+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-resolve-ifconfig-not-being-found-in-centos\/","url":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-resolve-ifconfig-not-being-found-in-centos\/","name":"How to resolve CentOS 8 | RHEL 8's version ifconfig comman | Velan","isPartOf":{"@id":"https:\/\/www.velaninfo.com\/rs\/#website"},"datePublished":"2021-06-10T08:53:41+00:00","dateModified":"2021-06-10T09:49:55+00:00","description":"How to Setup and resolve CentOS 8 and Red Hat Enterprise Linux ( RHEL 8) ifconfig command not being found. Check and install centos 8 rhel configure latest version here.","breadcrumb":{"@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-resolve-ifconfig-not-being-found-in-centos\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-resolve-ifconfig-not-being-found-in-centos\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-resolve-ifconfig-not-being-found-in-centos\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.velaninfo.com\/rs\/"},{"@type":"ListItem","position":2,"name":"Tech Tips","item":"https:\/\/www.velaninfo.com\/rs\/techtips\/"},{"@type":"ListItem","position":3,"name":"How to resolve CentOS 8 \/ RHEL 8&#8217;s ifconfig command not being found?"}]},{"@type":"WebSite","@id":"https:\/\/www.velaninfo.com\/rs\/#website","url":"https:\/\/www.velaninfo.com\/rs\/","name":"Velan","description":"Velaninfo Services India Pvt Ltd","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.velaninfo.com\/rs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/1115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips"}],"about":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/types\/techtips"}],"author":[{"embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/comments?post=1115"}],"version-history":[{"count":1,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/1115\/revisions"}],"predecessor-version":[{"id":1116,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/1115\/revisions\/1116"}],"wp:attachment":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/media?parent=1115"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/tags?post=1115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}