Linux sleep command
The Linux sleep command can be used to delay the current action for a period of time.
Permissions required: all users.
Syntax
sleep [--help] [--version] number[smhd]
Parameter Description:
- --help : Display help information
- --version : Display the version number
- number : Length of time, which can be followed by s, m, h, or d
- where s is seconds, m is minutes, h is hours, and d is days
Example
Sleep for 5 minutes
# sleep 5m
Display the current time, delay 1 minute, then display the time again
date;sleep 1m;date
Linux Command Reference