Linux Survival Basics
Read-onlyShow NetworkManager Device State
You need NetworkManager device state in one table.
Command
nmcli device status
Before you run this
System impact: Read-only. Low when scoped to the shown target.
When not to use it: Do not use as the only source on servers managed by systemd-networkd or netplan.
Expected output
Device, type, state, and connection name.
System impact
Read-only. Nothing changes. The command reads current state and prints diagnostic evidence.
Recovery / rollback: no state is changed.
When to use it
Use on NetworkManager-managed hosts.
When not to use it
Do not use as the only source on servers managed by systemd-networkd or netplan.
Example run
Commands shown
These are the commands shown for inspection. Treat them as an example, not proof that your system will behave identically.
nmcli device statusnmcli device status
next steps
Related commands
Check logrotate Timer Status
The timer may be disabled, missed, or failing.
systemctl status logrotate.timer --no-pager
Read One systemd Timer Status
Timer status shows whether the schedule is loaded and active.
systemctl status backup.timer --no-pager
Read the Failure Cause in systemctl Status
The status page often tells you the failed startup step before you open every log.
systemctl status app-worker --no-pager --lines=50
Read systemd-resolved Status
DNS state can distract from route failures.
resolvectl status
Inspect One Service Without Pager Traps
Make systemctl status safe for scripts, screenshots, and quick incident notes.
systemctl status nginx --no-pager --lines=30
next diagnostic step
Where to go from this command
- Default route missing hub Use to check managed interface state.
Study mapping
Use this as independent command practice: read the notes, predict the output, then compare it with the example before using a real shell.
Independent study support only. No affiliation, endorsement, exam dumps, or real exam questions.