Systemctl cheat sheet: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
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 | ||
*Start X from shell | |||
systemctl start graphical.target | systemctl start graphical.target | ||
*List targets | *List targets | ||
ls -l /lib/systemd/system/runlevel*.target | ls -l /lib/systemd/system/runlevel*.target |
Revision as of 19:44, 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