sleep 389 B

12345678910111213141516171819202122232425262728293031
  1. .TH SLEEP 1
  2. .SH NAME
  3. sleep \- suspend execution for an interval
  4. .SH SYNOPSIS
  5. .B sleep
  6. .I time
  7. .SH DESCRIPTION
  8. .I Sleep
  9. suspends execution for
  10. .I time
  11. seconds.
  12. .SH EXAMPLES
  13. Execute a command
  14. 100 seconds hence.
  15. .IP
  16. .EX
  17. {sleep 100; command}&
  18. .EE
  19. .PP
  20. Repeat a command every 30 seconds.
  21. .IP
  22. .EX
  23. while (){
  24. command
  25. sleep 30
  26. }
  27. .EE
  28. .SH SOURCE
  29. .B /sys/src/cmd/sleep.c
  30. .SH "SEE ALSO"
  31. .IR sleep (2)