December 2002
Intermediate to advanced
1616 pages
39h 57m
English
Creates a process that sleeps for a specified interval
sleep time
sleep time-list
The sleep utility causes the process executing it to go to sleep for the time specified. Refer to the sleep info page for complete documentation.
Typically the amount of time that a process sleeps is given as a single integer argument, time, which represents seconds. You can append a unit specification to the integer: s (seconds), m (minutes), h (hours), and d (days).
You can construct a time-list by including several times on the command line: The total time that the process sleeps is the sum of the times. For example, if you specify 1h 30m 100s, the process sleeps for 91 minutes and 40 seconds.
You can use sleep from the command line ...
Read now
Unlock full access