Files
cheatsheet-tldr/tldr/usleep
2025-12-13 00:20:51 +00:00

20 lines
431 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# usleep
> Delay execution for a specific interval in microseconds.
> Largely deprecated in favor of `nanosleep`.
> See also: `sleep`.
> More information: <https://manned.org/usleep.1>.
- Delay in microseconds:
`usleep {{microseconds}}`
- Execute a specific command after a 500,000 microseconds delay:
`usleep 500000 && {{command}}`