linux get server time code example
Example 1: get current server time centos
timedatectl
Example 2: show date linux
date +"%d-%m-%y"
Example 3: linux date command live update
{ while true ; do date ; sleep 0.1 ; done } | uniq
timedatectl
date +"%d-%m-%y"
{ while true ; do date ; sleep 0.1 ; done } | uniq