Pausing execution

Problem

You want to pause/sleep for some seconds on the command line.

Solution

You can use sleep and usleep

    # sleep for 1 second
    sleep 1

    # sleep for 1000 milliseconds
    usleep 1000

results matching ""

    No results matching ""