Linux Commands Helper
💬 Your AI-powered Linux assistant
shutdown Command - Bring the System Down
The shutdown command is used to bring the system down in a secure way. It can power off, halt, or reboot the system at a specified time.
Syntax
shutdown [options] [time] [message]
Examples
shutdown -h now
Halt and power off the system immediately.
shutdown -r +5
Reboot the system in 5 minutes.
shutdown -c
Cancel a scheduled shutdown or reboot.
Notes
- Requires root privileges to execute.
- Use
systemctl poweroff
orsystemctl reboot
as alternatives on systemd-based systems. - Warns all logged-in users before shutting down.