Linux

Service status in Linux

Linuxsystemdsystemctlbeginner

What this snippet does

status shows whether the unit is active, its PID and the last few log lines.

Expected output

● nginx.service - A high performance web server
   Active: active (running) since Tue 09:14:22

Why practise typing this

Typing systemd code builds muscle memory for the symbols and indentation Linux uses most, which prose-based typing tests never cover. DevType measures your words per minute and accuracy on this snippet and tracks the individual characters you mistype, so later lessons can target them.

More Linux practice

Browse all Linux snippets →