June 2015
Intermediate to advanced
216 pages
4h 48m
English
For those who believe that the only true form of Linux is without the aid of menus, using solely the wisdom handed down to you through your Jedi parentage, we have the extreme sport of nmcli. Joking aside, working with the NetworkManager in this way, without interaction of menus, will allow you to make changes in scripts, which can then be implemented across many systems.
As a simple starter, we can use nmcli to scan for available Wi-Fi networks; the output should show you the Wi-Fi SSID and strength as follows:
$ nmcli device wifi list
This procedure is greatly simplified compared to the traditional command-line mechanism we have used before to display SSIDs with the iw command:
$ sudo iw wlp12s0 ...