If you got the following. No need to panic. ( You will get the following if you did a minimal install of rhel or centOS)
# ifconfig
-bash: ifconfig: command not found
As early as RHEL5 and 6 ( CentOS 5 & 6 also).2009..nearly a decade. Wow!. RedHat made the
decision to no longer install the net-tools package by default on RHEL7. "Only on the Minimal Install"iconfig did not support InfiniBand addresses (commonly used interconnect in high-performance computing applications). InfiniBand addresses were too big for ifconfig to display; therefore, it was necessary to deprecate ifconfig and to find a tool that could display long InfiniBand addresses.- And ifconfig does not show all the details of ip addresses assigned to interfaces anyway
RedHat came up with replacement utilities which are ss and ip.
If you can't live without ifconfig and netstat like me. install net-tools with yum.
# yum install net-tools
Use command #ip addr to see the IP addresses of your networking devices:
Use the command #nmcli d show (NetworkManager Command Line Interface, device, show) to see more in-depth
information about your networking devices:
The Planet remains safe with Jedi Linux.
Komorebi 2 is an Animated Wallpaper App for Ubuntu. A bit creepy…if you ask me.
Ronan is a Caffeine dependent life-form from Planet Earth who wants to be a Jedi Knight of cloud computing. A man of mystery and power, whose power is exceeded only by his mystery. Quantum Physicist, TransHumanist, Systems Architect, Unix Administrator, Artificial Intelligence, Machine Learning and DIY Gadget enthusiast. Believes that the Universe has a high probability of being a simulation.
But he's real and hopefully some of his readers are too.
email: Ron.Jagannathan@gmail.com ph: 202 355 5205
https://www.linkedin.com/in/ronjagan/
My Famous Quotes:
“In a Unix Universe, God is known by a four letter word called root. To err is human...to really foul requires you to be root.. err.. god.” ― Ron Jagannathan