![Forrest logo](/images/logo.png)
shutdown:tldr:95b83
shutdown: Cancel a pending shutdown/reboot operation.
$ shutdown -c
try on your machine
The command "shutdown -c" is used in a command line interface (CLI) to cancel a previously scheduled system shutdown.
Here's a breakdown of the components:
- "shutdown" is the command used to schedule or initiate a system shutdown in various operating systems.
- "-c" is an option or switch that accompanies the "shutdown" command, with the purpose of canceling an impending shutdown.
When you run "shutdown -c" on the CLI, it cancels the shutdown process that was previously initiated. This is useful when you may have scheduled a shutdown, but later decide to abort it for some reason.
Keep in mind that the availability and functionality of this command can vary depending on the operating system you are using.
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.