How to use ip instead of ipconfig
ipconfig 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:
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
Thanks for visiting.