checking time on linux code example
Example 1: get current server time centos
timedatectl
Example 2: linux date command live update
{ while true ; do date ; sleep 0.1 ; done } | uniq
timedatectl
{ while true ; do date ; sleep 0.1 ; done } | uniq