GNU Stop Watch

My friend Phil was trying to time how fast he could speedcube but he only had a Linux terminal with GNU tools. How can you time yourself using GNU tools? Here was our though process:

  1. run date twice and take the difference in times
  2. run time cat /dev/zero > /dev/null and ^C to stop
  3. our final solution was to time cat and ^D to stop

We settled on solution 3 because of the ease of typing.

    None Found
  • http://philharnish.com Phil Harnish

    Logan Buesching pointed out that this could be done with time read.
    This method is it is much easier to stop (enter, as opposed to ^D).

    (I like the preview area by the way)

  • http://openradix.org/ Luke Hoersten

    Oh that’s nice! Thanks for the comment on the preview as well. :)

  • http://philharnish.com Phil Harnish

    time read.
    This method is it is much easier to stop (enter, as opposed to ^D).

    (I like the preview area by the way)

  • http://openradix.org/ Luke Hoersten

    Oh that’s nice! Thanks for the comment on the preview as well. :)