-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
timedatectl: add Chinese translation (#13715)
- Loading branch information
Cryo
authored
Sep 21, 2024
1 parent
59bfa4b
commit c8c0685
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# timedatectl | ||
|
||
> 控制系统时间和日期。 | ||
> 更多信息:<https://manned.org/timedatectl>. | ||
- 检查当前系统时钟时间: | ||
|
||
`timedatectl` | ||
|
||
- 直接设置系统时钟的本地时间: | ||
|
||
`timedatectl set-time "{{yyyy-MM-dd hh:mm:ss}}"` | ||
|
||
- 列出可用时区: | ||
|
||
`timedatectl list-timezones` | ||
|
||
- 设置系统时区: | ||
|
||
`timedatectl set-timezone {{时区}}` | ||
|
||
- 启用网络时间协议(NTP)同步: | ||
|
||
`timedatectl set-ntp on` | ||
|
||
- 将硬件时钟时间标准更改为本地时间: | ||
|
||
`timedatectl set-local-rtc 1` |