reboot
systemLinux/Unix
The reboot command is one of the most frequently used commands in Linux/Unix-like operating systems. reboot Restart the system
Quick Reference
Command Name:
reboot
Category:
system
Platform:
Linux/Unix
Basic Usage:
reboot [options] [arguments]
Common Use Cases
Syntax
reboot [options]
Options
Option | Description |
---|---|
-f, --force |
Force immediate reboot without gracefully shutting down services |
-w, --wtmp-only |
Only write a wtmp reboot record, don't actually reboot |
-d, --no-fsck |
Skip filesystem check on next boot |
--no-wall |
Don't send a message to all users before rebooting |
-n, --no-sync |
Don't sync hard disks/storage before reboot |
-p, --poweroff |
Power off the system after reboot |
-h, --halt |
Halt the system after reboot |
--help |
Display help message and exit |
--version |
Output version information and exit |
Examples
How to Use These Examples
The examples below show common ways to use the reboot
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.
# Basic Examples Basic
sudo reboot