#!/bin/bash while sleep 1 do DATE=$(date) tput bold echo "${DATE} " tput cuu 2 tput sgr0 done