Synchronized time is very important for log files analysis across multiple system. NTP - Network Time Protocol is standard way for system to provide correct time information on the internet.
timedatectl list-timezones - Display all time zones (timezones are based on continent or ocean).
tzselect - Used to identity correct time zone information.
timedatectl set-timezone 'Africa/Johannesburg' - It used to set time and date as per continent/country. System setting for current time zone can be change only by root user.
timedatectl set-time '07:00:45' - To change the time.
Commands:
timedatectl - Show overview of the current time setting.timedatectl list-timezones - Display all time zones (timezones are based on continent or ocean).
tzselect - Used to identity correct time zone information.
timedatectl set-timezone 'Africa/Johannesburg' - It used to set time and date as per continent/country. System setting for current time zone can be change only by root user.
timedatectl set-time '07:00:45' - To change the time.
timedatectl set-ntp true - To enable NTP
ConversionConversion EmoticonEmoticon