Shell/Bash: wait n seconds in shell script Example

By

Shell/Bash Example: This is the "wait n seconds in shell script" Example. compiled from many sources on the internet by SimpleTutorials.org

wait n seconds in shell script

sleep .5 # Waits 0.5 second.
sleep 5  # Waits 5 seconds.
sleep 5s # Waits 5 seconds.
sleep 5m # Waits 5 minutes.
sleep 5h # Waits 5 hours.
sleep 5d # Waits 5 days.



* Summary: This "wait n seconds in shell script" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others