-->
🏠 🔍
SHAREOLITE

How to sync system time using rdate in linux


There are many ways to sync system time with another server . rdate is one among those and the simplest one in linux.
 

 


Pre-Requisites

  • Make sure time-dgram and time-stream services are enabled.
  • If not enabled , use ntsysv command as root user and enable the same
  • Activate the configuration by executing "service xinetd restart" as root user.
Command Usage

Syntax  : rdate -s "Source IP"

Example : rdate -s 192.168.10.2

This would sync the system time to the current time of the source system having IP 192.168.10.2
Comments

–>