linux command to show system time every 1 seconds code example Example: bash run a command every x second while sleep 1; do echo "Hi"; done