Search This Blog

Tuesday, November 13, 2018

How to Sleep or Delay a Specified Amount of Time in Bash Script

sleep NUMBER[SUFFIX]

Where SUFFIX may be:

s for seconds (the default)
m for minutes.
h for hours.
d for days.

Example:

sleep 1m