diff --git a/pages.zh/common/sleep.md b/pages.zh/common/sleep.md new file mode 100644 index 0000000000..1f9ca8ad45 --- /dev/null +++ b/pages.zh/common/sleep.md @@ -0,0 +1,12 @@ +# sleep + +> 延迟指定的一段时间。 +> 更多信息:. + +- 按秒数延迟: + +`sleep {{seconds}}` + +- 在20秒延迟后执行指定命令: + +`sleep 20 && {{command}}` diff --git a/pages.zh/linux/sleep.md b/pages.zh/linux/sleep.md new file mode 100644 index 0000000000..a025c861d4 --- /dev/null +++ b/pages.zh/linux/sleep.md @@ -0,0 +1,20 @@ +# sleep + +> 延迟指定的一段时间。 +> 更多信息:. + +- 按秒数延迟: + +`sleep {{seconds}}` + +- 延迟 [m]分钟(其他元素 [d]天,[h]小时,[s]秒,[inf]无穷 也可以使用): + +`sleep {{minutes}}m` + +- 延迟 1 [d]天 3 [h]小时: + +`sleep 1d 3h` + +- 在 20 [m]分钟 延迟后执行指定命令: + +`sleep 20m && {{command}}`