Quick and dirty stopwatch via the Mac Terminal

mac terminal You can create an instant quick and dirty stopwatch via the Mac OS X command line by launching Terminal and typing: time cat , then hit enter and the stopwatch begins, you can stop the count by hitting Control-C, which will return something back that looks like this:

$ time cat
^C
real 0m5.905s
user 0m0.001s
sys 0m0.003s

The top ‘real’ number is the time that passed since executing the command. How this stopwatch works is you are using the ‘time’ command to time how long another command takes to execute, but since cat requires something to output and we are not providing any, cat does nothing, creating a simple stopwatch.

Related Posts with Thumbnails

2 Comments

» Comments RSS Feed

  1. [...] If you’re not keen on installing third party apps, you can always create a rudimentary stopwatch from the command line [...]

  2. [...] If you’re not keen on installing third party apps, you can always create a rudimentary stopwatch from the command line [...]

Leave a Reply

 

Save big on Apple & Mac Deals from Amazon.com

Recent Comments

Shared on Facebook

Support Us

Mac Picks

iPhone & iPad Picks

Mac from PC Picks