Systemctl cheat sheet

From Coolscript
Revision as of 19:44, 11 July 2022 by Admin (talk | contribs)
Jump to navigation Jump to search

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