Files
freeCodeCamp/guide/english/bash/bash-shutdown/index.md
zerandomalt 742b56589e Made the formatting more consistent (#30285)
The formatting is now more consistent with the other files in the directory, also added a more information section with a link to the SS64 page.
2019-05-17 11:33:13 +05:30

27 lines
577 B
Markdown

---
title: Bash shutdown
---
## Bash Command: shutdown
Typing the shutdown command will schedule your system to be shutdown at a given point in time.
### Usage
```bash
shutdown [options] when [message]
```
Most used options:
* `+m`, will specify the minutes until shutdown.
* `-h`, will specify the hours until shutdown.
* `-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.
#### More information:
* SS64: https://ss64.com/bash/shutdown.html