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