Hackbydoing Academy tool guide · Linux command line essentials · free, no login
systemctl controls services — the background programs (daemons) that systemd manages — letting you start, stop, restart, check and enable or disable them.
systemctl status ssh
It shows whether the SSH service is running, since when, and its most recent log lines — the first thing to check when a service misbehaves. Other everyday verbs: start, stop, restart, enable, disable.
| --no-pager | Print the whole output straight to the screen and exit, instead of handing it to a pager (the scroll-and-quit viewer called less) — this makes the output usable inside scripts, pipes and copied evidence. |
| --now | Used with enable or disable: change the boot behaviour AND start or stop the service right now in the same command, so 'systemctl enable --now ssh' both makes SSH start at every boot and starts it immediately. |
| --type=service | Used with list-units: only show units of this kind. The value is attached after the = sign — here 'service', so the list shows services only, not timers, mounts or other unit types. |
Only run systemctl on systems you own or have explicit, written permission to test — at work that means a signed engagement, at home that means your own lab. Inside Hackbydoing Academy you practice on simulated networks and lab machines built for exactly this, where breaking things is the lesson and no one else's systems are involved. Learning how a tool works also teaches you what it looks like from the defender's chair: the logs it leaves, the traffic it makes, and the settings that shut it down.
Reading about systemctl is step one. In the Academy you run it yourself, step by step, in guided labs on simulated networks — 185 rooms covering attack and defense, from your first scan to full operations, with a defender's debrief at the end of every room. Founding membership is $9.99/mo for the first 500 members.
Join Hackbydoing Academy →Free from the Hackbydoing Academy — learn cybersecurity by doing: real tools, guided labs, attack and defense, on simulated networks. More free material: Tool Guides index · Free Downloads Library · Hackbydoing Academy · Print this page (Ctrl/Cmd+P) for a clean paper copy.