Skip to Content
Learning RHEL Networking
book

Learning RHEL Networking

by Andrew Mallett
June 2015
Intermediate to advanced
216 pages
4h 48m
English
Packt Publishing
Content preview from Learning RHEL Networking

Extreme interaction with NetworkManager using nmcli

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering CentOS 7 Linux Server

Mastering CentOS 7 Linux Server

Mohamed Alibi, BHASKARJYOTI ROY
Troubleshooting CentOS

Troubleshooting CentOS

Jonathan Hobson

Publisher Resources

ISBN: 9781785287831