Operations 2 min read

Master Linux Init: Switch Runlevels, Shut Down, Reboot, and More

This guide explains how to use the Linux init command to change system runlevels, detailing each level’s purpose, the command syntax, and practical examples for shutting down, entering single‑user mode, switching to full multi‑user mode, launching the graphical interface, and rebooting the machine.

Open Source Linux
Open Source Linux
Open Source Linux
Master Linux Init: Switch Runlevels, Shut Down, Reboot, and More

init: Switch System Runlevels

Function Description:

The init command can change the system runlevel. Linux defines seven runlevels; init 0 shuts down the system, and init 6 reboots it.

Command Syntax:

init [options]

Option Meanings:

The meanings of the options are listed below:

0 – shutdown

1 – single‑user mode

2 – multi‑user mode

3 – full multi‑user mode

5 – graphical interface

6 – reboot

Reference Examples:

Example 1 – Shut down the system

[root@linuxcool ~]# init 0

Example 2 – Switch to single‑user mode

[root@linuxcool ~]# init 1

Example 3 – Switch to full multi‑user mode

[root@linuxcool ~]# init 3

Example 4 – Reboot the system

[root@linuxcool ~]# init 6
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

linuxSystem AdministrationinitRunlevel
Open Source Linux
Written by

Open Source Linux

Focused on sharing Linux/Unix content, covering fundamentals, system development, network programming, automation/operations, cloud computing, and related professional knowledge.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.