Sleep

From Linuxintro
Revision as of 20:29, 4 January 2012 by 84.163.97.44 (talk)

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, it waits for a process to change its state.

See also