mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
20 lines
431 B
Plaintext
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}}`
|