Forrest logo
back to the poweroff tool

poweroff:tldr:c0a6a

poweroff: Shut down immediately without contacting the system manager.
$ poweroff --force --force
try on your machine

The command "poweroff" is used to initiate a system shutdown in Linux-based operating systems.

The option "--force" instructs the system to forcefully shut down, bypassing any running processes or programs that may be preventing a normal shutdown. This means that it will terminate all processes, regardless of their state, without allowing them to save any open data or perform any clean-up tasks.

Using "--force" can be helpful if the system is unresponsive or if there are any stubborn programs that refuse to close in order to allow for a graceful shutdown.

In this specific case, "--force" is used twice, but the second "--force" is redundant and unnecessary.

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