March 2012
Beginner to intermediate
230 pages
7h 27m
English
sleep — stdin stdout - file -- opt --help --version
sleep time_specificationThe sleep command simply
waits a set amount of time. The given time specification can be an
integer (meaning seconds) or an integer followed by the letter
s (also seconds), m (minutes), h (hours), or d (days).
$ sleep 5m Do nothing for 5 minutessleep is useful for
delaying a command for a set amount of time:
$ sleep 10 && echo 'Ten seconds have passed.'
(10 seconds pass)
Ten seconds have passed.Read now
Unlock full access