sleep — delay execution
cheat sheet · Ubuntu 24.04; Bash 5.2 for shell builtins https://lab.dimsanych.ru/en/wiki/sleep/Cheat sheet
-
sleep 1pause for one second -
sleep 0.5fractional seconds in GNU sleep -
sleep 2sexplicit time unit -
sleep 1mone minute -
sleep --helpinstalled version help
Options
The duration is an operand, not an option. GNU sleep accepts the suffixes s,
m, h, and d; an unsuffixed number means seconds. Multiple intervals are
added together. For a portable script, use one non-negative integer number of
seconds.
Help and version options describe the program rather than start a timer. Check
the available interface with sleep --help; do not assume that other
implementations provide every GNU extension.