snippetbashTip
usleep — Delay execution for a specific interval in microseconds. Largely deprecated in favor of `nanosleep`.
Viewed 0 times
commandspecificintervalusleepclidelayexecutionfor
Problem
How to use the
usleep command: Delay execution for a specific interval in microseconds. Largely deprecated in favor of nanosleep. See also: sleep. More information: <https://manned.org/usleep.1>.Solution
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}}Code Snippets
Delay in microseconds
usleep {{microseconds}}Execute a specific command after a 500,000 microseconds delay
usleep 500000 && {{command}}Context
tldr-pages: common/usleep
Revisions (0)
No revisions yet.