how to change runlevel (targets) in linux ubuntu
SYNOPSIS
target.target
DESCRIPTION
A unit configuration file whose name ends in “.target” encodes
information about a target unit of systemd, which is used for
grouping units and as well-known synchronization points during
start-up.
COMMAND
to chake current runlevel: sudo systemctl get-default
to change target: sudo systemctl set-default multi-user.target
RUNLEVEL
Run level 0 is matched by poweroff.target (and runlevel0.target is a symbolic link to poweroff.target).
Run level 1 is matched by rescue.target (and runlevel1.target is a symbolic link to rescue.target).
Run level 3 is emulated by multi-user.target (and runlevel3.target is a symbolic link to multi-user.target).
Run level 5 is emulated by graphical.target (and runlevel5.target is a symbolic link to graphical.target).
Run level 6 is emulated by reboot.target (and runlevel6.target is a symbolic link to reboot.target
#runlevel
#target
#systemD
ubuntu