sleep
Delay for a specified amount of time. More information: <https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sleep.html>.
Install
- All systems
-
curl cmd.cat/sleep.sh
- Debian
-
apt-get install coreutils - Ubuntu
-
apt-get install coreutils -
Alpine
-
apk add coreutils - Arch Linux
-
pacman -S coreutils - Kali Linux
-
apt-get install coreutils - CentOS
-
yum install coreutils - Fedora
-
dnf install coreutils - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install coreutils - OS X
-
brew install coreutils - Raspbian
-
apt-get install coreutils - Docker
-
docker run cmd.cat/sleep sleeppowered by Commando
Delay for a specified amount of time. More information: <https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sleep.html>.
-
Delay in seconds:
sleep seconds -
Execute a specific command after 20 seconds delay:
sleep 20 && command
© tl;dr; authors and contributors