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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store