To pause the execution of shell script use sleep command.
Examples:
Thank you
Examples:
sleep 1 # Pause for 1 sec sleep 1s # Pause for 1 sec sleep 1m # Pause for 1 min sleep 1h # Pause for 1 hour sleep 1d # Pause for 1 day sleep .1 # Pause for 100 mili-sec i.e. 0.1sec
Thank you
No comments:
Post a Comment