Using the UNIX/Linux sleep command to pause a shell script or command for a short time. And other useful commands.

The Linux sleep command will enable you to pause a Linux command for a short time. The example below has our command halting for 5 seconds before executing. The suffix s means seconds, this is useful for halting a script whilst you are waiting for something else to run. C:\HOME\FLYNN\DESKTOP> sleep 5s ; ps PID … Read more