Answers for "delay bash"

9

sh wait 10 seconds

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
12

sleep command bash

sleep NUMBER[SUFFIX]	#Just use this command structure to wait/sleep
#Example:
sleep 5m	#sleeps 5 minutes
sleep 0.1		#sleeps 0.1 seconds or 100 miliseconds
#Suffixes
s - seconds (default)
m - minutes
h - hours
d - days
When no suffix is specified, it defaults to seconds.
Posted by: Guest on December-08-2020
2

bash wait 3 seconda

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 March-05-2020
0

pause in bash

#pause 5 second, first method
read -t 5

#pause 5 second, second method
sleep 5s
Posted by: Guest on October-27-2020
0

delay bash

sleep 5
Posted by: Guest on October-08-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language