Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

sleep

v(uutils coreutils) 0.8.0
sleep NÚMERO[SUFIJO]...
sleep OPCIÓN

Pausar por NÚMERO segundos.

Options

pausar por NÚMERO segundos

Pausar por NÚMERO segundos. SUFIJO puede ser ‘s’ para segundos (por defecto), ‘m’ para minutos, ‘h’ para horas o ‘d’ para días. A diferencia de la mayoría de implementaciones que requieren que NÚMERO sea un entero, aquí NÚMERO puede ser un número de punto flotante arbitrario. Dados dos o más argumentos, pausar por la cantidad de tiempo especificada por la suma de sus valores.

Examples

The examples have not been translated yet and are shown in English. You can help by translating them on tldr-pages.

Delay in seconds:

sleep {{seconds}}

Execute a specific command after 20 seconds delay:

sleep 20 && {{command}}

The examples are provided by the tldr-pages project under the CC BY 4.0 License.

Please note that, as uutils is a work in progress, some examples might fail.