mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 01:50:55 +00:00
Update cheatsheets
This commit is contained in:
25
linux/sleep
Normal file
25
linux/sleep
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# sleep
|
||||
|
||||
> Delay for a specified amount of time.
|
||||
> More information: <https://www.gnu.org/software/coreutils/sleep>.
|
||||
|
||||
- Delay in seconds:
|
||||
|
||||
`sleep {{seconds}}`
|
||||
|
||||
- Delay in [m]inutes. (Other units [d]ay, [h]our, [s]econd, [inf]inity can also be used):
|
||||
|
||||
`sleep {{minutes}}m`
|
||||
|
||||
- Delay for 1 [d]ay 3 [h]ours:
|
||||
|
||||
`sleep 1d 3h`
|
||||
|
||||
- Execute a specific command after 20 [m]inutes delay:
|
||||
|
||||
`sleep 20m && {{command}}`
|
||||
Reference in New Issue
Block a user