Linux sleep command
The Linux sleep command can be used to delay the current action for a period of time.
Permission: All users.
Syntax
sleep [--help] [--version] number[smhd]
Parameter description:
- --help : Display help message
- --version : Display version number
- number : Time length, can be followed by s, m, h or d
- Where s is seconds, m is minutes, h is hours, d is days
Examples
Sleep for 5 minutes
# sleep 5m
Display the current time, delay for 1 minute, then display the time again
date;sleep 1m;dateOther extensions
Linux Command Encyclopedia