Network
The nmcli command
Controls network connections from the terminal: device status, wifi networks and connection profiles.
Syntax
nmcli device status | nmcli connection show | nmcli device wifi listMost useful options
device statusStatus of each interfaceconnection showConnection profilesdevice wifi listVisible wifi networksCopy-ready examples
$ nmcli device statusNetwork statusYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- Changing network or activating a connection requires permissions.
FAQ
nmcli or nmtui?
nmcli is command line; nmtui is a friendlier text interface.
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course