How Do I Enable Ifconfig in Linux?
Contents

Microsoft allows anyone to download Windows 10 for free and install it without a product key. It’ll keep working for the foreseeable future, with only a few small cosmetic restrictions. And you can even pay to upgrade to a licensed copy of Windows 10 after you install it.

How do I get ifconfig on Linux?

ip command generally available under /bin directory but some Linux os keep is under /sbin directory. Use the following command to get ip address using ip command. As per the above output, this system has IP address 192.168. 10.199 on Ethernet interface eth0.

Why is ifconfig not working in Linux?

You were probably looking for the command /sbin/ifconfig . If this file does not exist (try ls /sbin/ifconfig ), the command may just be not installed. It is part of the package net-tools , which is not installed by default, because it’s deprecated and superseded by the command ip from the package iproute2 .

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest