ifconfig configures a network interface
Installation
sudo apt install net-tools
Commands
1. display all network interfaces
ifconfig
2. display specified network interface
ifconfig <NIC>
3. down and up network interface
ifconfig <NIC> down ifdown <NIC> ifconfig <NIC> up ifup <NIC>
4. to change mode look at iwconfig command