sleep - Man Page
delay for a specified amount of time
Examples (TL;DR)
- Delay in seconds:
sleep seconds
- Execute a specific command after 20 seconds delay:
sleep 20 && command
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.
Author
Written by Jim Meyering and Paul Eggert.
Reporting Bugs
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
Report any translation bugs to <https://translationproject.org/team/>
Copyright
Copyright © 2024 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), extraclangtools(1), ibv_read_counters(3), libuv(1), nut.conf(5), perlsyn(1), perlthrtut(1), pmCreateFetchGroup(3), pmpause(1), pthread_getcpuclockid(3), sd_event_add_child(3), sleep(3), tracefs_iterate_raw_events(3), usleep(1), valkey-modules-blocking-ops(7), xpanes(1).