HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

sleep — Delay for a specified amount of time. More information: <https://manned.org/sleep>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandclisleeptimeamountdelayforspecified

Problem

How to use the sleep command: Delay for a specified amount of time. More information: <https://manned.org/sleep>.

Solution

sleep — Delay for a specified amount of time. More information: <https://manned.org/sleep>.

Delay in seconds:
sleep {{seconds}}


Execute a specific command after 20 seconds delay:
sleep 20 && {{command}}

Code Snippets

Delay in seconds

sleep {{seconds}}

Execute a specific command after 20 seconds delay

sleep 20 && {{command}}

Context

tldr-pages: common/sleep

Revisions (0)

No revisions yet.