Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 525 Bytes

systemctl.md

File metadata and controls

45 lines (30 loc) · 525 Bytes

Cheat Sheet: systemctl

If you are using systemd, systemctl will be the command line tool, you need.

Status of a unit

systemctl status <unit>

Control units

systemctl [start|stop|reload|restart] <unit>

List units

systemctl list-units [--all]

List unit files

systemctl list-unit-files

Show Content of a unit file

systemctl cat httpd.service

Get / set default runlevel

systemctl [get-default|set-default <target>]

Reach a target

systemctl isolate <target>