Getting Started with nmcli (NetworkManager CLI)

What is nmcli? The nmcli means NetworkManager Command Line Interface. It’s command-line utility tool used for controlling NetworkManager and reporting network status. In simple terms, we use that to interact with network related devices. How to use it? I don’t have proper way to explain, but let’s learn it with a case-scenario: Connect to a wifi network: Turn on the wifi module: sudo nmcli radio wifi on List the available networks: sudo nmcli device wifi list In case, it didn’t display any network, please rescan the available network and list it: ...

February 23, 2025