shutdown:tldr:002f0
shutdown: Reboot immediately.
$ shutdown -r now
try on your machine
The command "shutdown -r now" is used to instruct a computer to reboot immediately. Here's a breakdown of the individual components:
- "shutdown": This is the command used to schedule a system shutdown or reboot.
- "-r": It is an option that specifies a reboot action. It indicates that instead of shutting down the system completely, it should be restarted.
- "now": It is a parameter that indicates the command should be executed immediately.
By combining these components, "shutdown -r now" tells the computer to initiate a system restart immediately, without any delay or warning.
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.