logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git/

sleep.1 (935B)


  1. .\" utils-std: Collection of commonly available Unix tools
  2. .\" Copyright 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. .\" SPDX-License-Identifier: MPL-2.0
  4. .Dd June 18, 2025
  5. .Dt SLEEP 1
  6. .Os
  7. .Sh NAME
  8. .Nm sleep
  9. .Nd delay for a specified amount of time
  10. .Sh SYNOPSIS
  11. .Nm
  12. .Ar duration...
  13. .Sh DESCRIPTION
  14. The
  15. .Nm
  16. utily shall suspends execution for the total of each
  17. .Ar duration
  18. argument.
  19. .Pp
  20. .Ar duration
  21. is a string containing non-negative decimal numbers including floats, terminated by a suffix: s for seconds, m for minutes, h for hours, d for days.
  22. If the final number doesn't have a suffix it is assumed to be seconds.
  23. Longer durations are taken as out of scope.
  24. .Sh EXIT STATUS
  25. .Ex -std
  26. .Sh SEE ALSO
  27. .Xr at 1 ,
  28. .Xr crontab 1 ,
  29. .Xr nanosleep 3
  30. .Sh STANDARDS
  31. .Nm
  32. should be compliant with the
  33. IEEE Std 1003.1-2024 (“POSIX.1”)
  34. specification.
  35. .Sh AUTHORS
  36. .An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me