System Control and Power Commands in Linux (original) (raw)

Last Updated : 7 Jan, 2026

System control and power commands in Linux are used to safely stop, restart, or shut down the system. These commands ensure that all running processes are properly terminated and data is saved before the system powers off or reboots, helping to prevent data loss and system corruption.

These commands are commonly used to:

Below are the commonly used System Control and Power Commands in Linux

system_control_and_power_commands

1. halt

The halt command is used to stop all CPU functions and halt the system.

**Syntax:

halt

Example:

halt

**Output:

Broadcast message from ubuntu@ubuntu
root@ubuntu:/var/log# (/dev/pts/0) at 10:15...
The system is going down for halt NOW.

2. poweroff

The poweroff command shuts down the system and turns off the power.

**Syntax:

poweroff

**Example:

poweroff

3. reboot

The reboot command restarts the system immediately.

**Syntax:

reboot

**Example:

reboot

This command reboots the system.

4. shutdown

The shutdown command is used to power off or reboot the system at a scheduled time.

**Syntax:

shutdown [options] time

**Examples:

1. Immediately shuts down the system.

**Command:

shutdown now

2. Reboots the system after 5 minutes.

**Command:

shutdown -r +5