Difference between revisions of "Sleep"

From Linuxintro
imported>ThorstenStaerk
m
imported>ThorstenStaerk
Line 4: Line 4:
 
  sleep ''1m''
 
  sleep ''1m''
 
waits for ''1 minute''.
 
waits for ''1 minute''.
 +
 +
The command [[wait]] does something else.
  
 
= See also =
 
= See also =
 
* [http://man-wiki.net/index.php/1:sleep sleep man page]
 
* [http://man-wiki.net/index.php/1:sleep sleep man page]

Revision as of 08:44, 12 June 2011

sleep is a command that waits for a given time. For example,

sleep 5

waits for 5 seconds.

sleep 1m

waits for 1 minute.

The command wait does something else.

See also