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
- Reading text files with PowerShell and Linux bash shell
- 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
More Quick Tips articles
- IaaS VM ‘cheat sheets’ available in Azure Portal
- Finding Azure locations with PowerShell
- Check if Azure Key Vault certificate uses exportable private keys
- Managing access to your Azure invoices
- Managing Azure subscription policies