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://www.codercto.com/courses/l/14.html

查看所有标签

Unreal Engine 4 Scripting with C++ Cookbook

Unreal Engine 4 Scripting with C++ Cookbook

Sherif, William、Stephen Whittle / 2016-10-24

Unreal Engine 4 (UE4) is a complete suite of game development tools made by game developers, for game developers. With more than 100 practical recipes, this book is a guide showcasing techniques to us......一起来看看 《Unreal Engine 4 Scripting with C++ Cookbook》 这本书的介绍吧!

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

在线压缩/解压 HTML 代码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换