The following will display the time it took for a given command to execute. How would I do the same but with better precision (i.e 5.23 seconds)?
[root@localhost ~]# start=`date +%s`; sleep 5 && echo execution time is $(expr `date +%s` - $start) seconds
execution time is 5 seconds
[root@localhost ~]#