reboot Command Generator
Generate reboot commands to restart the system
Getting Started with reboot
## What is reboot?
The `reboot` command performs a clean system shutdown and then restarts the machine. By default it routes through `shutdown`, which notifies logged-in users, stops services, unmounts filesystems, and brings the system back up.
## How to Use
1. **Pick Options**: Choose force, no-wtmp, no-sync, or interface-shutdown flags. 2. **Run as Root**: Execute the generated command with `sudo` or as root. 3. **Save Your Work**: Close and save open files — the machine will restart. 4. **Copy & Run**: Copy the generated command into your terminal.
> `reboot` shares its options with `halt` and `poweroff`. Use `halt -p` if you want to power off instead, or `shutdown -r` for a scheduled reboot.
Common Options
### `-f` Force Force an immediate reboot without calling `shutdown`. Skips user warnings and the service shutdown sequence — reserve for unresponsive systems.
### `-w` Write only Write a `wtmp` reboot record without actually rebooting. Useful for testing the accounting log on a non-live system.
### `-d` No wtmp Do not write a `wtmp` record. Useful in containers or recovery environments where the accounting log is unavailable.
### `-i` Shut down network interfaces Bring down all network interfaces before rebooting, which helps remote NICs log out cleanly.
### `-n` No sync Skip the `sync(2)` call before reboot. Risky — unwritten filesystem data may be lost. Use only in recovery scenarios.
▶How do I reboot at a specific time?
▶Why use reboot -f instead of reboot?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee