From f473228dd18d02315c50d49c94b6a3ca85160e4e Mon Sep 17 00:00:00 2001 From: YangWithU <122429664+YangWithU@users.noreply.github.com> Date: Thu, 20 Jun 2024 21:55:10 +0800 Subject: [PATCH 1/5] sleep: add Chinese translation (#13076) --- pages.zh/common/sleep.md | 12 ++++++++++++ pages.zh/linux/sleep.md | 20 ++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 pages.zh/common/sleep.md create mode 100644 pages.zh/linux/sleep.md diff --git a/pages.zh/common/sleep.md b/pages.zh/common/sleep.md new file mode 100644 index 00000000000000..1f9ca8ad4583d9 --- /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 00000000000000..a025c861d449ed --- /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}}` From 14544a0f26e0c525e90a8a8d5342159fc8e351b4 Mon Sep 17 00:00:00 2001 From: YangWithU <122429664+YangWithU@users.noreply.github.com> Date: Thu, 20 Jun 2024 21:56:14 +0800 Subject: [PATCH 2/5] uptime: add Chinese translation (#13078) * uptime: add Chinese translation * fix: trailing whitespace --- pages.zh/common/uptime.md | 20 ++++++++++++++++++++ pages.zh/osx/uptime.md | 8 ++++++++ 2 files changed, 28 insertions(+) create mode 100644 pages.zh/common/uptime.md create mode 100644 pages.zh/osx/uptime.md diff --git a/pages.zh/common/uptime.md b/pages.zh/common/uptime.md new file mode 100644 index 00000000000000..b8f878f1092be0 --- /dev/null +++ b/pages.zh/common/uptime.md @@ -0,0 +1,20 @@ +# uptime + +> 告知当前系统运行多长时间和其他信息。 +> 更多信息:. + +- 打印当前时间,运行时间,登录用户数量和其他信息: + +`uptime` + +- 仅显示系统已启动的时间长度: + +`uptime --pretty` + +- 打印系统启动的日期和时间: + +`uptime --since` + +- 显示版本信息: + +`uptime --version` diff --git a/pages.zh/osx/uptime.md b/pages.zh/osx/uptime.md new file mode 100644 index 00000000000000..b29f0b9621f627 --- /dev/null +++ b/pages.zh/osx/uptime.md @@ -0,0 +1,8 @@ +# uptime + +> 告知当前系统运行多长时间和其他信息。 +> 更多信息:. + +- 打印当前时间,运行时间,登录用户数量和其他信息: + +`uptime` From 674f47556b5a1556000fcc5de89115c4dc8aece7 Mon Sep 17 00:00:00 2001 From: Ville Saalo Date: Thu, 20 Jun 2024 20:18:30 +0300 Subject: [PATCH 3/5] git-tag: add example on how to push a tag (#13079) Co-authored-by: spageektti --- pages/common/git-tag.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/common/git-tag.md b/pages/common/git-tag.md index 74397937f2a748..eff87c349cb0ef 100644 --- a/pages/common/git-tag.md +++ b/pages/common/git-tag.md @@ -24,10 +24,14 @@ `git tag -d {{tag_name}}` -- Get updated tags from upstream: +- Get updated tags from remote: `git fetch --tags` +- Push a tag to remote: + +`git push origin tag {{tag_name}}` + - List all tags whose ancestors include a given commit: `git tag --contains {{commit}}` From 0a0fc04b2eb8024889b28d123c13b4d990ee0265 Mon Sep 17 00:00:00 2001 From: spageektti Date: Thu, 20 Jun 2024 21:38:43 +0200 Subject: [PATCH 4/5] nc: update link in Spanish translation (#13090) --- pages.es/common/nc.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages.es/common/nc.md b/pages.es/common/nc.md index abcdd3734e5f19..d94289f7129982 100644 --- a/pages.es/common/nc.md +++ b/pages.es/common/nc.md @@ -1,7 +1,7 @@ # nc > Redirige datos de entrada o salida a un flujo de red a través de esta versátil herramienta. -> Más información: . +> Más información: . - Inicia un escuchador en un puerto TCP y le envía un archivo: From 84418d3ced5e208611a161937cf17331ba792737 Mon Sep 17 00:00:00 2001 From: Sohang Chopra Date: Fri, 21 Jun 2024 17:40:15 +0530 Subject: [PATCH 5/5] systool: add page (#13096) Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna --- pages/linux/systool.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pages/linux/systool.md diff --git a/pages/linux/systool.md b/pages/linux/systool.md new file mode 100644 index 00000000000000..824f6fcdd20baf --- /dev/null +++ b/pages/linux/systool.md @@ -0,0 +1,17 @@ +# systool + +> View system device information by bus, and classes. +> This command is part of the `sysfs` package. +> More information: . + +- List all attributes of devices of a bus (eg. `pci`, `usb`). View all buses using `ls /sys/bus`: + +`systool -b {{bus}} -v` + +- List all attributes of a class of devices (eg. `drm`, `block`). View all classes using `ls /sys/class`: + +`systool -c {{class}} -v` + +- Show only device drivers of a bus (eg. `pci`, `usb`): + +`systool -b {{bus}} -D`