1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 17:53:50 +02:00

timedatectl: tweak writing (#2604)

This commit is contained in:
Hugo Locurcio 2018-11-21 10:20:43 +01:00 committed by Owen Voke
parent 8903a79304
commit 08550e1d43

View file

@ -2,22 +2,22 @@
> Control the system time and date. > Control the system time and date.
- To check the current system clock time: - Check the current system clock time:
`timedatectl` `timedatectl`
- To set the local time of the system clock directly: - Set the local time of the system clock directly:
`timedatectl set-time {{"yyyy-MM-dd hh:mm:ss"}}` `timedatectl set-time {{"yyyy-MM-dd hh:mm:ss"}}`
- To list available timezones: - List available timezones:
`timedatectl list-timezones` `timedatectl list-timezones`
- To change timezones: - Set the system timezone:
`timedatectl set-timezone {{timezone}}` `timedatectl set-timezone {{timezone}}`
- To enable Network Time Protocol (NTP) syncing: - Enable Network Time Protocol (NTP) synchronization:
`timedatectl set-ntp on` `timedatectl set-ntp on`