Linux sleep命令

Linux 教程 · 2019-02-16 12:57:32

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

点击查看所有 Linux 教程 文章: https://codercto.com/courses/l/14.html

查看所有标签

Flow-Based Programming (2nd Edition)

Flow-Based Programming (2nd Edition)

CreateSpace / 2010-5-14 / $69.95

Written by a pioneer in the field, this is a thorough guide to the cost- and time-saving advantages of Flow-Based Programming. It explains the theoretical underpinnings and application of this program......一起来看看 《Flow-Based Programming (2nd Edition)》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具