Linux sleep命令

更新时间: 2019-10-16 12:40

Linux sleep命令可以用来将目前动作延迟一段时间。

使用权限:所有使用者。

语法

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

参数说明

  • --help : 显示辅助讯息
  • --version : 显示版本编号
  • number : 时间长度,后面可接 s、m、h 或 d
  • 其中 s 为秒,m 为 分钟,h 为小时,d 为日数

实例

休眠5分钟

# sleep 5m

显示目前时间后延迟 1 分钟,之后再次显示时间

date;sleep 1m;date
Web Anatomy

Web Anatomy

Robert Hoekman Jr.、Jared Spool / New Riders / 2009-12-11 / USD 39.99

At the start of every web design project, the ongoing struggles reappear. We want to design highly usable and self-evident applications, but we also want to devise innovative, compelling, and exciting......一起来看看 《Web Anatomy》 这本书的介绍吧!

在线进制转换器

在线进制转换器

各进制数互转换器

Markdown 在线编辑器

Markdown 在线编辑器

Markdown 在线编辑器

html转js在线工具

html转js在线工具

html转js在线工具