English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux sleep command

Linux Command大全

The Linux sleep command can be used to delay the current action for a period of time.

Usage Permission: All Users.

Syntax

sleep [--help] [--version] number[smhd]

Parameter Description:

  • --help : Display help information
  • --version : Display version number
  • number : Time length, which can be followed by s, m, h, or d
  • Where s is seconds, m is minutes, h is hours, and d is days

Online Examples

Sleep5Minutes

# sleep 5m

Display the current time and then delay 1 Minutes, then display the time again

date;sleep 1m;date

Linux Command大全