TOOL » LINUX » MANAGER

Timedatectl

Usage

Control the system time and date.

shell
timedatectl OPTIONS COMMAND
CommandDescription
set-ntpControls whether network time synchronization is active and enabled (if available).

Example

Synchronize time and date with ntp server:

shell
timedatectl set-ntp yes