I like to keep a history of various operations so that I can compare them over time and with other systems. START_TIME=`date +%s` echo `date` 'building app' >> ~/bin/buildTiming.txt #Do the build, deployment, tests, or whatever echo `date` 'done building app ' $(echo `date +%s` - $START_TIME | bc) >> ~/bin/buildTiming.txt