Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux sleep command

Linux sleep command

Linux Command Reference Linux Command Reference

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:

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 Linux Command Reference