![Forrest logo](/images/logo.png)
shutdown:tldr:9960d
shutdown: Power off (halt) immediately.
$ shutdown -h now
try on your machine
The command "shutdown -h now" is used to immediately shut down the system and turn it off. It is most commonly used in Unix-like operating systems, such as Linux.
Breaking it down:
- "shutdown" is the command used to manage system shutdowns.
- "-h" is an option flag that specifies a halt or shutdown operation.
- "now" is an argument that specifies the time at which the shutdown should occur. In this case, "now" means immediately.
So, when you run the command "shutdown -h now" in the terminal, it will initiate an immediate shutdown, stopping all running processes and turning off 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.
Questions that are answered by this command:
- what is the time shutdown is scheduled for?