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:
parent
8903a79304
commit
08550e1d43
1 changed files with 5 additions and 5 deletions
|
@ -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`
|
||||||
|
|
Loading…
Add table
Reference in a new issue