Use the date command to display the current time and dat code example Example: linux date command live update { while true ; do date ; sleep 0.1 ; done } | uniq