reboot - Restarts the machine
-d Generates a crash dump of the system before halting it. Can be used
with any of the other options.
-l Does not log the reboot using syslog
-n Does not sync the disks or log the reboot using syslog
-q Performs a quick reboot without first shutting down running processes;
does not log the reboot using syslog
When the system is running and multiple users are logged in, use the shut-
down -r command to perform a reboot operation. If no users are logged in,
use the reboot command.
The reboot command normally stops all running processes, syncs the disks,
logs the reboot, and writes a shutdown entry in the login accounting file,
The reboot command uses the sync call to synchronize the disks, and to per-
form other shutdown activities such as resynchronizing the hardware time-
of-day clock. After these activities, the system reboots. By default, the
system starts and the file systems are automatically checked. If the
start-up activities are successful, the system comes up in the default
You must have root privileges to use this command.
Using the -n option can result in file system damage.
1. To enable the default reboot action, enter:
This command causes the system to stop all running processes, sync the
disks, log the shutdown, and perform other routine shutdown and reboot
2. To shut down the system without logging the reboot, enter:
This command shuts down the system and performs all shutdown and
reboot activities, except logging the shutdown.
3. To reboot the system abruptly, enter:
This command reboots the system abruptly without shutting down running
Specifies the command path
Specifies the login accounting file
Specifies the path of the syslog daemon
Commands: fsck(8), halt(8), init(8), savecore(8) shutdown(8), syslogd(8)
Functions: reboot(2), sync(2), syslog(3)