• 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

  2. Sharad Chhetri says

    December 25, 2016 at 3:01 pm

    You are most welcome Adham!

    Regards
    Sharad

  3. Adham says

    December 24, 2016 at 4:14 pm

    Thank you Sharad,

    I updated the net-tools and works now

    Appreciate it

  4. sharad chhetri says

    December 9, 2015 at 3:11 am

    Thank You Niels,

    Regards
    Sharad

  5. niels says

    December 7, 2015 at 9:48 am

    this helped

  6. Dax Prather says

    December 1, 2015 at 7:53 pm

    Thanks much!

  7. sharad chhetri says

    August 16, 2015 at 5:36 pm

    You are welcome Larry,

    Appreciate for giving us feedback on this post.

    Regards
    Sharad

  8. Larry Matter says

    August 16, 2015 at 4:48 pm

    Thanks, this helped.

  9. sharadchhetri says

    September 15, 2014 at 5:04 pm

    Welcome Marcelo

  10. Marcelo Conti says

    September 14, 2014 at 1:33 pm

    Congratulations, great post.

Leave a 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 Commands

Unix / Linux : How to print duplicate lines from file

sed command to display text between two strings or keywords

How to know last command run successfully : Linux / Unix

Useful tail command with examples in Linux/Unix

There are unfinished transactions remaining. You might consider running yum-complete-transaction

6 important examples of cd command on Linux and Unix Systems

What is Linux/Unix Internal And External Command

Explore 70+ Articles On Linux Commands

Always Useful Tips And Tricks

How to hide php version information in header

Yum Error database disk image is malformed

convert space into new line using sed command

Terminal Recording with script and scriptreplay command

Replace keyword with its filename without extension : bash script

Learn Linux Date Command With Examples

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

Explore 90+ Article On "Linux Tips And Tricks"

You Might Like These Articles!

Linux basic command

Linux Basic Commands With Examples For Every Beginner

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

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission but Schools and Colleges can do in their Private Network
Proudly Blogging From Bharat.

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