mirror of
https://github.com/nushell/nushell
synced 2024-12-29 06:23:11 +00:00
c0a1d18e3d
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
33 lines
385 B
Markdown
33 lines
385 B
Markdown
---
|
|
title: sleep
|
|
layout: command
|
|
version: 0.59.0
|
|
---
|
|
|
|
Delay for a specified amount of time.
|
|
|
|
## Signature
|
|
|
|
```> sleep (duration) ...rest```
|
|
|
|
## Parameters
|
|
|
|
- `duration`: time to sleep
|
|
- `...rest`: additional time
|
|
|
|
## Examples
|
|
|
|
Sleep for 1sec
|
|
```shell
|
|
> sleep 1sec
|
|
```
|
|
|
|
Sleep for 3sec
|
|
```shell
|
|
> sleep 1sec 1sec 1sec
|
|
```
|
|
|
|
Send output after 1sec
|
|
```shell
|
|
> sleep 1sec; echo done
|
|
```
|