delay for a specified amount of time
References
man sleep
sleep NUMBER[SUFFIX]...
- Pause for NUMBER seconds (default).
- NUMBER may be
- an integer
- an arbitrary floating point number
Given two or more arguments!
- Pause for the amount of time specified by the sum of their values.
s
seconds (the default)m
minutesh
hoursd
days.
# 1 second
sleep 1
# 0.1 second
sleep 0.2
## equal
sleep 0.2s
# 3 minuete
sleep 3m
# 4 hour
sleep 4h
# 5 day
sleep 5d
# sumation
sleep 1d 2h 3m 4s