timedatectl
Control the system time and date. More information: https://manned.org/timedatectl.
- 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
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.