1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 11:19:46 +01:00
tldr/pages/linux/sleep.md
Onkar Ruikar 1f028af0f0
sleep: refresh page (#9631)
* sleep: add commands

* Add separate file for Linux tree
2023-02-08 22:03:28 +05:30

403 B

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}}