Starting in Red Hat Enterprise Linux 7, the systemd is the default init system. The systemctl utility is the tool of choice when managing systemd components like the targets. If you have installed your Red Hat Enterprise Linux using the graphical user interface (GUI), you can use systemctl to change to the regular console. To see your current default, run systemctl get-default. To change back to the command-line interface, execute systemctl set-default multi-user.target, as depicted in the image below.
Note: It won't change a thing in the current state. You will see the change in your next restart of the server.
After restarting the server, we can see the results — a login request in the command line interface.
More Linux articles
- Linux security and growing cyberthreats: Everything you need to know
- Data transfer between Linux and Windows: Step-by-step guide
- Setting up static IP address for Linux: Easier than you think
- Merging and sorting files in Linux: Easier than you think
- Sending email from Linux terminal: Efficient and powerful solution
More Quick Tips articles
- New from Microsoft: Azure Security Center onboarding guide
- Fixing Azure Key Vault when moving to a different tenant
- Restore Azure Key Vault using just two PowerShell cmdlets
- This overlooked feature in Visual Studio Code can speed release time
- Enabling Front Door managed certificates in Azure: Status update