Update of index.md (#31840)

Added the 'now' option to list of options
This commit is contained in:
Bradley D. Thornton
2019-06-11 08:04:49 -07:00
committed by Tom
parent 672184d0c3
commit 1abe4971f4

View File

@ -9,17 +9,32 @@ Typing the shutdown command will schedule your system to be shutdown at a given
### Usage
```bash
shutdown [options] when [message]
shutdown [options] [when] [message]
```
Most used options:
* `+m`, will specify the minutes until shutdown.
#### Options
* `-h`, will specify the hours until shutdown.
* `-h`, shutdown then halt the system
* `-r`, will trigger a restart of the system after shutting it down.
* `-r`, will trigger a restart of the system after shutting it down
Adding a message to the end of the command will display a message of your chosing prior to shutting it down.
* `-c`, cancel a planned shutdown
* `-P`, shutdown then power down
* `-k`, do not shutdown, but send the message as if you were
#### When
* `now`, triggers an immediate shutdown (still displays any message specified)
* `hh:mm`, shutdown initiates at the specified hour(`hh`) and minute(`mm`)
* `+m`, wait `m` minutes before inititiating shutdown
#### Message
* Adding a message to the end of the command will display a message of your chosing prior to shutting it down.
#### More information: