forked from freeCodeCamp/freeCodeCamp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* shutdown added an explanation for the shutdown command * corrected file folder and filename
- Loading branch information
1 parent
5913095
commit 3796483
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: Bash shutdown | ||
--- | ||
|
||
Bash Command: shutdown | ||
|
||
`shutdown` - typing the shutdown command will schedule your system to be shutdown at a given point in time. | ||
|
||
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. | ||
|
||
message , will display a message of your chosing prior to shutting it down. | ||
|
||
Syntax: | ||
|
||
shutdown -h +m message |