Sleep

From LQWiki
Jump to navigation Jump to search

The sleep command delays for a specified amount of time.

Example usage

wait for 1 second:

$ sleep 1

wait for 1 minute:

$ sleep 1m

wait for 1 hour:

$ sleep 1h

wait for 1 day:

$ sleep 1d

See also