1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 14:42:07 +02:00
tldr/pages/linux/sleep.md
K.B.Dharun Krishna 898f711019
pages/*: update GNU coreutils links, sync translation pages (#15543)
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2025-01-18 18:45:33 +05:30

436 B

sleep

Delay for a specified amount of time. More information: https://www.gnu.org/software/coreutils/manual/html_node/sleep-invocation.html.

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