Answers for "wait n seconds in shell script"

9

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.
Posted by: Guest on April-16-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language