Skip to content
Search

Timedatectl

lastmod 2023-03-01created 2020-06-284 edits

Control the system time and date.

Example

List the available time zones.

$ timedatectl list-timezones

If your location is Asia/Seoul, set it as follows.

$ timedatectl set-timezone Asia/Seoul

You can set the system time using NTP.

$ timedatectl set-ntp true

You can check the status information as follows.

$ timedatectl status

See also

Favorite site

author Zer0 sitemap