To learn more about the reboot, check this out:
Today, we will see how we can reboot CentOS 8. For this purpose, we will explore different commands that can be used. The commands are simple and easy to follow. We will use the CentOS command line (terminal) to run the commands.”
Without any further ado, let’s get started.
This section will show you different methods using which you can reboot CentOS 8:
Method 1: Using the “reboot” Command
The first method involves using the reboot command. To reboot CentOS 8, run the following command on the CentOS terminal:
You can also force a reboot with this command:
Method 2: Using the “poweroff” Command
The other way you can reboot your system is by running the following poweroff command. The poweroff command is meant to shut down your system. But it can also be used to reboot the system if used like this:
Method 3: Using the “shutdown” Command
The third command that can be used to reboot CentOS 8 is the shutdown command. To do that, run the command like this:
Method 4: Using the “halt” Command
Another command that can be used to restart CentOS 8 is the halt command. To reboot your system, use halt like this:
Method 5: Using the “telinit” Command
The final command that we will discuss is the telinet command. This command can also be used to reboot your CentOS 8 system. Execute the telinet command like this to reboot:
Make sure to add 6 in the command.
In today’s guide, we discussed 5 different commands that can be used to reboot CentOS 8 using the command line. The shutdown process starts after 1 minute, which is the default time interval.
We hope you liked the tutorial.