Display a 24-hour digital clock with the hour, minute and second fields that updates every second

xclock

xclock -digital -strftime '%H:%M:%S' -update 1

click the source code to copy install xclock on any operating system with command-not-found.com