mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-17 05:55:44 +02:00
15 lines
351 B
Markdown
15 lines
351 B
Markdown
![]() |
# usleep
|
||
|
|
||
|
> Delay execution for a specific interval in microseconds.
|
||
|
> Largely deprecated in favor of `nanosleep`.
|
||
|
> See also: `sleep`, `nanosleep`.
|
||
|
> 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}}`
|