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
  • Oh that's nice! Thanks for the comment on the preview as well. :)
  • time read.
    This method is it is much easier to stop (enter, as opposed to ^D).

    (I like the preview area by the way)
blog comments powered by Disqus