A newly provisioned Linux server boots into a graphical session by default, but you need it to operate without a display server in the traditional runlevel 3 state on every startup. Which command ensures this persists across reboots?
Executing systemctl set-default runlevel3.target updates the default target link, guaranteeing that the system enters the runlevel 3 equivalent each time it boots. Using ‘isolate’ affects only the current session, ‘enable’ registers the unit but doesn't change the default, and disabling the display manager service leaves the default target unchanged, so the graphical stage may still be attempted.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is runlevel 3 in Linux?
Open an interactive chat with Bash
What are systemd targets and how do they relate to runlevels?