linux timedatectl

Sundar blogSundar blog
1 min read

Timedatectl

The command allows you to review and change the configuration of the system clock and its settings

List time zones

timedatectl list-timezones

Filter Asia time zones

timedatectl list-timezones |grep Asia

set Calcutta timezone

timedatectl set-timezone Asia/Calcutta

Enable NTP server

Timedatectl set-ntp 1

Disable NTP server

Timedatectl set-ntp 0

Date change

Timedatectl set-time “2023-03-19”

0
Subscribe to my newsletter

Read articles from Sundar blog directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Sundar blog
Sundar blog