Skip to content

Latest commit

History

History
23 lines (12 loc) 路 417 Bytes

timedatectl.md

File metadata and controls

23 lines (12 loc) 路 417 Bytes

timedatectl

Control the system time and date.

  • Check the current system clock time:

timedatectl

  • Set the local time of the system clock directly:

timedatectl set-time "{{yyyy-MM-dd hh:mm:ss}}"

  • List available timezones:

timedatectl list-timezones

  • Set the system timezone:

timedatectl set-timezone {{timezone}}

  • Enable Network Time Protocol (NTP) synchronization:

timedatectl set-ntp on