mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
timedatectl: add Chinese translation (#13715)
This commit is contained in:
parent
59bfa4bdd5
commit
c8c0685911
1 changed files with 28 additions and 0 deletions
28
pages.zh/linux/timedatectl.md
Normal file
28
pages.zh/linux/timedatectl.md
Normal file
|
@ -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`
|
Loading…
Add table
Reference in a new issue