In Which Runlevel Linux System Reboots?

In Which Runlevel Linux System Reboots?
Contents

The /etc/inittab file is used to set the default run level for the system. This is the runlevel that a system will start up on upon reboot.

Which of the following runlevel will reboot the system?

Standard runlevels

ID Name Description
0 Shutdown Shuts down the system.
1 Single user mode Does not configure network interfaces or start daemons.
6 Reboot Reboots the system.

Which runlevel shuts down the system and then reboots it with the mentioned level as the default runlevel?

Runlevel 0 is the power-down state and is invoked by the halt command to shut down the system. Runlevel 6 is the reboot state—it shuts down the system and reboots. Runlevel 1 is the single-user state, which allows access only to the superuser and does not run any network services.
…
Runlevels.

State Description
4 Unused.
Sophia Al-Mansoor
Author

Sophia Al-Mansoor

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.