sleep — delay for a specified amount of time
Examples (TL;DR)
-
Delay in seconds:
sleep seconds
-
Delay in minutes:
sleep minutesm
-
Delay in hours:
sleep hoursh
Synopsis
sleep NUMBER[SUFFIX]...
sleep OPTION
Description
Pause for NUMBER seconds. SUFFIX may be 's' for seconds (the default), 'm' for minutes, 'h' for hours or 'd' for days. NUMBER need not be an integer. Given two or more arguments, pause for the amount of time specified by the sum of their values.
- --help
display this help and exit
- --version
output version information and exit
Reporting Bugs
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
Report any translation bugs to <https://translationproject.org/team/>
Copyright
Copyright © 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
See Also
Full documentation <https://www.gnu.org/software/coreutils/sleep>
or available locally via: info '(coreutils) sleep invocation'
Referenced By
bpf(2), chat(8), clone(2), dbpmda(1), filechan(8), ibv_read_counters(3), ioctl_ns(2), mongoc_cursors(3), mongoc_guides(3), mongoc_reference(3), nut.conf(5), perlsyn(1), perlthrtut(1), pmClearFetchGroup(3), pmpause(1), pthread_getcpuclockid(3), sleep(3), usleep(1).