1
0
Fork 0
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:
Cryo 2024-09-22 03:57:50 +08:00 committed by GitHub
parent 59bfa4bdd5
commit c8c0685911
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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`