Home Dokumentacje GNU Coreutils - manual - 25. Delaying
22 | 08 | 2019
GNU Coreutils - manual - 25. Delaying Drukuj

[ < ] [ > ] [ << ] [ Up ] [ >> ] [Top] [Contents] [Index] [ ? ]

25. Delaying


[ < ] [ > ] [ << ] [ Up ] [ >> ] [Top] [Contents] [Index] [ ? ]

25.1 sleep: Delay for a specified time

sleep pauses for an amount of time specified by the sum of the values of the command line arguments. Synopsis:

sleep number[smhd]…

Each argument is a number followed by an optional unit; the default is seconds. The units are:

`s'

seconds

`m'

minutes

`h'

hours

`d'

days

Historical implementations of sleep have required that number be an integer, and only accepted a single argument without a suffix. However, GNU sleep accepts arbitrary floating point numbers. See section Floating point numbers.

The only options are `--help' and `--version'. See section Common options.

Due to shell aliases and built-in sleep functions, using an unadorned sleep interactively or in a script may get you different functionality than that described here. Invoke it via env (i.e., env sleep …) to avoid interference from the shell.

An exit status of zero indicates success, and a nonzero value indicates failure.


[ << ] [ >> ] [Top] [Contents] [Index] [ ? ]

This document was generated by root on May, 18 2011 using texi2html 1.76.

 
Linki sponsorowane

W celu realizacji usług i funkcji na witrynach internetowych ZUI "ELPRO" stosujemy pliki cookies. Korzystanie z witryny bez zmiany ustawień dotyczących plików cookies oznacza, że będą one zapisywane w urządzeniu wyświetlającym stronę internetową. Więcej szczegółów w Polityce plików cookies.

Akceptuję pliki cookies z tej witryny.