Stopwatch in terminal
Hit enter for laps.
stf=$(date +%s.%N);for ((;;));do ctf=$( date +%s.%N );echo -en "\r$(date -u -d "0 $ctf sec - $stf sec" "+%H:%M:%S.%N")";done
Source: http://www.commandlinefu.com/commands/view/18756/chronometer-in-hour- format
Comments