Forrest logo
back to the poweroff tool

poweroff:tldr:7b0dd

poweroff: Reboot the system (same as `reboot`).
$ poweroff --reboot
try on your machine

The command "poweroff --reboot" is used to initiate a system shutdown and reboot the computer.

Here's an explanation of each part of the command:

  • "poweroff" is a system command used to shut down the computer. It is typically used to turn off the system and power down the hardware in an organized manner.

  • "--reboot" is an option passed to the "poweroff" command. It tells the system to perform a reboot instead of a complete shutdown. This means that after powering off, the computer will automatically turn back on and start the boot-up process, effectively restarting the system.

So when you execute the "poweroff --reboot" command, the computer will initiate a shutdown, but instead of fully powering off, it will reboot and restart the system.

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 poweroff tool