Maintaining Accurate Time Flashcards
What is the command to show date/time?
date
What is the command for time/date and NTP setting?
timedatectl (–help)
What is the command to view the list of time zones?
timedatectl list-timezones
What is the command to set a time zone?
timedatectl set-timezone America/New_York
What is the command to set time or time/date?
timedatectl set-time HH:MM:SS
timedatectl set-time ‘2021-08-18 20:15:50’
What is the command to enable NTP synchronization?
timedatectl set-ntp true
What is the purpose of chronyd?
Time synchronization
Where is the configuration file located for chronyd?
/etc/chrony.conf
Where is the log file for chronyd located?
/var/log/chrony
What is the program command for chronyd?
chronyc
you can use chronyc and then sources to check working ntp servers