snippetbashTip
systemctl get-default — Display the default target (runlevel) that the system will boot into. More information: <https://www
Viewed 0 times
thecommandsystemctl get-defaultrunlevelclitargetdefaultdisplay
linux
Problem
How to use the
systemctl get-default command: Display the default target (runlevel) that the system will boot into. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#get-default>.Solution
systemctl get-default — Display the default target (runlevel) that the system will boot into. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#get-default>.Check the default target on your system:
systemctl get-defaultCode Snippets
Check the default target on your system
systemctl get-defaultContext
tldr-pages: linux/systemctl get-default
Revisions (0)
No revisions yet.