Back to commands

Linux Survival Basics

Read-only

Read systemd-resolved Status

You need resolver state while checking network reachability.

Command

resolvectl status

Before you run this

System impact: Read-only. Low when scoped to the shown target.

When not to use it: Do not edit resolv.conf before confirming the active resolver manager.

Expected output

Global and per-link DNS servers, search domains, and protocol state.

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 when route and DNS symptoms overlap.

When not to use it

Do not edit resolv.conf before confirming the active resolver manager.

Example run

Commands shown

These are the commands shown for inspection. Treat them as an example, not proof that your system will behave identically.

  1. resolvectl status
  2. resolvectl status

next steps

Related commands

Linux Survival Basics Read-only

Read One systemd Timer Status

Timer status shows whether the schedule is loaded and active.

systemctl status backup.timer --no-pager
Linux Survival Basics Read-only

Check logrotate Timer Status

The timer may be disabled, missed, or failing.

systemctl status logrotate.timer --no-pager
Linux Survival Basics Read-only

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

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.

  • LPIC-1 style command-line practice
  • LFCS style performance-task practice

Independent study support only. No affiliation, endorsement, exam dumps, or real exam questions.