How to use ip instead of ipconfig

linux-penguinipconfig has been around a very long time. Increasingly you might find that your Linux computer doesn't have it installed, and instead you can use the ip command. This article will give you some replacement ip commands.


You might simply type ifconfig to discover useful information about your network interfaces.


The equivalent ip command is:

ip a


ip address show


Enabling or disabling a network interface

Using ifconfig you would enter the following to respectivly enable or disable the nic.

ifconfig eth0 down
ifconfig eth0 up

The equivalent ip commands are:

ip link set eth0 up
ip link set eth0 down


IP options

To get more information about how to use IP, run the following:



Thanks for visiting,