Systemctl cheat sheet: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
systemd-analyze blame | systemd-analyze blame | ||
systemd-analyze time | systemd-analyze time | ||
*Targets | |||
systemctl get-default (graphical.target / multi-user.target) | systemctl get-default (graphical.target / multi-user.target) | ||
systemctl set-default multi-user.target | systemctl set-default multi-user.target | ||
systemctl start | *Start X from shell | ||
systemctl start graphical.target | |||
*List targets | |||
ls -l /lib/systemd/system/runlevel*.target |
Revision as of 19:43, 11 July 2022
Systemctl
systemctl cat service systemctl cat rc-local.service systemd-analyze blame systemd-analyze time
- Targets
systemctl get-default (graphical.target / multi-user.target) systemctl set-default multi-user.target *Start X from shell systemctl start graphical.target
- List targets
ls -l /lib/systemd/system/runlevel*.target