[NYLoCo] command of the day

Jeffrey Knight jeffrey.knight at gmail.com
Wed May 14 23:28:02 BST 2008


UbuntuNyers --

I knew you could "watch" any command -- as in "watch ls -alh" ...

but "time" is new to me --  prefix any command with "time" and it
executes the command and prints out the run time.

For example:
# time sleep 2

No more startTime, endTime, date diff's in my code ! :)

-Jeff



More information about the Ubuntu-us-ny mailing list