SLEEP(1) | General Commands Manual | SLEEP(1) |
sleep
— delay for
a specified amount of time
sleep |
duration... |
The sleep
utily shall suspends execution
for the total of each duration argument.
duration is a string containing non-negative decimal numbers including floats, terminated by a suffix: s for seconds, m for minutes, h for hours, d for days. If the final number doesn't have a suffix it is assumed to be seconds. Longer durations are taken as out of scope.
The sleep
utility exits 0 on
success, and >0 if an error occurs.
sleep
should be compliant with the IEEE
Std 1003.1-2024 (“POSIX.1”) specification.
Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
June 18, 2025 | Linux |