sleep command

The sleep command, which pauses for a number of seconds and then exits successfully.

In more detail

Scripts use it between retries or polls. sleep 30 & is also a handy long-running command for practising job control and signals.

Related terms

Taught in

References