timedatectl: tweak writing (#2604)
This commit is contained in:
@@ -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`
|
||||||
|
Reference in New Issue
Block a user