Linux command line can make all kinds of tasks quicker and easier to complete depending on what commands are used.
Here is a quick way to enable/disable network interfaces (wired /wireless) using Linux Mint / Ubuntu Terminal :
1. Open Terminal and simply type :
This disables the ethernet interface (wired one). If ifconfig is run now, there would be no listing of ethernet adapter.
Basically, the general syntax to enable or disable any network interface through Terminal is :
Similarly, wireless adapter can be disabled by typing:
To bring these up back again :
sudo ifconfig wlan0 up
This is useful when troubleshooting network connectivity issues and is quicker as well as easier to do all by typing in a few commands. 🙂