• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

ifconfig command not found on CentOS 7

July 25, 2014 by Sharad Chhetri 10 Comments

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.

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.

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.

This will give you the error , ifconfig command not found.

To get the ifconfig command into our system , run the below given command

yum install net-tools

Now check the ifconfig command and its path in system (which and whereis command will help)

ifconfig
ifconfig -a
which ifconfig
whereis ifconfig

How I got to know net-tools package need to be installed

Using yum command with provides or whatprovides options help to give you list of package which is required for that particular command.

As per man page of yum :

provides or whatprovides
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.

We have used the below given command to find which package provides the ifconfig command.

yum provides ifconfig

Below screenshot is last section of command output.
CentOS 7

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. FAQ on CentOS 7 / RHEL 7 : Alternate of ifconfig command
  2. How to find CentOS Linux release version on CentOS 7 series
  3. Sharing server Migration from CentOS 6 to CentOS 7
  4. How to upgrade to CentOS 6.6 from CentOS 6.x series
  5. scp command not found in CentOS and Red Hat
  6. make command not found in linux CentOS Red Hat ubuntu Debian
  7. Install libjpegtran by using yum command in CentOS 6.x
  8. semanage command not found in CentOS 6 and RHEL 6
  9. netstat command not found on CentOS 7 and RHEL 7 (Red Hat Enterprise Linux 7)
  10. Install php 5.4 on CentOS 6 with yum command

Filed Under: CentOS, Linux Tagged With: CentOS, centos 7

Reader Interactions

Comments

  1. JJ says

    January 3, 2017 at 6:25 pm

    thanks really userful post

    Reply
  2. Adham says

    December 24, 2016 at 4:14 pm

    Thank you Sharad,

    I updated the net-tools and works now

    Appreciate it

    Reply
    • Sharad Chhetri says

      December 25, 2016 at 3:01 pm

      You are most welcome Adham!

      Regards
      Sharad

      Reply
  3. niels says

    December 7, 2015 at 9:48 am

    this helped

    Reply
    • sharad chhetri says

      December 9, 2015 at 3:11 am

      Thank You Niels,

      Regards
      Sharad

      Reply
  4. Dax Prather says

    December 1, 2015 at 7:53 pm

    Thanks much!

    Reply
  5. Larry Matter says

    August 16, 2015 at 4:48 pm

    Thanks, this helped.

    Reply
    • sharad chhetri says

      August 16, 2015 at 5:36 pm

      You are welcome Larry,

      Appreciate for giving us feedback on this post.

      Regards
      Sharad

      Reply
  6. Marcelo Conti says

    September 14, 2014 at 1:33 pm

    Congratulations, great post.

    Reply
    • sharadchhetri says

      September 15, 2014 at 5:04 pm

      Welcome Marcelo

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Linux Command

What is Linux Internal And External Command

Linux Basic Commands With Examples For Every Beginner

tr command to convert lines to space , tab and vertical tab

smbpasswd command not found on CentOS 7 and RHEL 7

Solution : semanage command not found

Unix / Linux : How to print duplicate lines from file

More Posts from this Category

You Might Like These Articles!

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Install Latest Git package in Ubuntu Operating System

How To Always Install Latest Git Package In Ubuntu Operating System

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

libfuse

dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu

Failed to open/create the internal network

VirtualBox Error: Failed to open/create the internal network

Always Useful Tips And Tricks

send email after mysql backup through bash script in simple way

Learn Linux Date Command With Examples

Yum Error database disk image is malformed

4 Different commands to find system uptime in linux

How to set JAVA environment variables in Linux

Install libjpegtran by using yum command in CentOS 6.x

Non interactive ,without typing password do ssh to Server : By sshpass

Explore 90+ Article On "Linux Tips And Tricks"

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy