nmcli
CautionManage NetworkManager
nmcli device status
The RHEL-family network CLI: list devices, set IPs, join Wi-Fi. 'con mod' persists settings.
Examples
nmcli device statusList device statesnmcli con mod eth0 ipv4.addresses 192.168.1.10/24Set a static IP
Syntax
nmcli [device|connection] <subcmd>
Before you run it
Changes can cut connectivity — careful over SSH.
Used when you see
Related commands
- ip addrShow IP/routes
- ethtoolNIC link diagnostics
- networksetupNetwork settings (macOS)
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store