Forrest logo
back to the reboot tool

reboot:tldr:3957c

reboot: Reboot immediately without gracefully shutting down.
$ sudo reboot -q
try on your machine

The command "sudo reboot -q" is used to instruct the system to reboot while suppressing any warning or confirmation messages (-q stands for quiet). Here's a breakdown of the command:

  • "sudo": It is a command in Unix-like operating systems that allows a user with administrative privileges (superuser) to execute a command with those elevated permissions.

  • "reboot": It is a command used to restart the system. When executed, it will initiate a reboot by shutting down the operating system and then starting it up again.

  • "-q": It is an option or flag passed to the "reboot" command. In this case, it stands for quiet mode. It prevents any output or messages from being displayed during the reboot process. It's useful when you want to perform a reboot without any user interaction or interruption.

Combining these elements, "sudo reboot -q" runs the "reboot" command with superuser privileges, ensuring a system restart without any warning or confirmation messages.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the reboot tool