English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux Reference Manual

Linux Command Manual

Linux reboot command

The Linux reboot command is used to restart the computer. 6 If the system's runlevel is 0 or -r parameter) to replace

Syntax

reboot [-n]-w]-d]-f]-i]

Parameters:

  • -n : Do not write memory data back to the hard disk before rebooting
  • -w : It will not actually reboot, just write records to /var/log/wtmp file
  • -d : Do not write records to /var/log/wtmp file (-n This parameter includes -d)
  • -f : Force reboot without calling the shutdown command
  • -i : Stop all network-related devices before rebooting

Online Examples

Reboot

# reboot

Linux Command Manual