1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

sleep: add Chinese translation (#13076)

This commit is contained in:
YangWithU 2024-06-20 21:55:10 +08:00 committed by GitHub
parent 5497e7fa4a
commit f473228dd1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 32 additions and 0 deletions

12
pages.zh/common/sleep.md Normal file
View file

@ -0,0 +1,12 @@
# sleep
> 延迟指定的一段时间。
> 更多信息:<https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sleep.html>.
- 按秒数延迟:
`sleep {{seconds}}`
- 在20秒延迟后执行指定命令:
`sleep 20 && {{command}}`

20
pages.zh/linux/sleep.md Normal file
View file

@ -0,0 +1,20 @@
# sleep
> 延迟指定的一段时间。
> 更多信息:<https://www.gnu.org/software/coreutils/sleep>.
- 按秒数延迟:
`sleep {{seconds}}`
- 延迟 [m]分钟(其他元素 [d]天,[h]小时,[s]秒,[inf]无穷 也可以使用):
`sleep {{minutes}}m`
- 延迟 1 [d]天 3 [h]小时:
`sleep 1d 3h`
- 在 20 [m]分钟 延迟后执行指定命令:
`sleep 20m && {{command}}`