mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-20 08:17:53 +03:00
timedatectl: tweak writing (#2604)
This commit is contained in:
parent
8903a79304
commit
08550e1d43
@ -2,22 +2,22 @@
|
||||
|
||||
> Control the system time and date.
|
||||
|
||||
- To check the current system clock time:
|
||||
- Check the current system clock time:
|
||||
|
||||
`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"}}`
|
||||
|
||||
- To list available timezones:
|
||||
- List available timezones:
|
||||
|
||||
`timedatectl list-timezones`
|
||||
|
||||
- To change timezones:
|
||||
- Set the system timezone:
|
||||
|
||||
`timedatectl set-timezone {{timezone}}`
|
||||
|
||||
- To enable Network Time Protocol (NTP) syncing:
|
||||
- Enable Network Time Protocol (NTP) synchronization:
|
||||
|
||||
`timedatectl set-ntp on`
|
||||
|
Loading…
Reference in New Issue
Block a user