aboutsummaryrefslogtreecommitdiff
TYP(section) section TYP(section)

typmeasure typing speed

typ

typ is a simple utility for measuring and analyzing typing speed. It reads user input on the tty until a newline is encountered. Then, it prints some useful statistics.

typ measures (among other things) rather than words per minute. Unlike other timing utilities, time spent between words is not counted. As a result, typ much more accurately measures the typist's raw typing rate, regardless of his “doubting” rate.

typ works when used in a pipe, as long as there is a tty available.

typ prints eight lines to standard output. Each line consists of a number, a tab character and a short explanation.

  1. total words typed
  2. total characters typed
  3. total characters typed inside words
  4. total seconds spent
  5. total seconds spent inside words
  6. average seconds spent per character
  7. average seconds spent per character inside word
  8. average seconds spent per word

To retrieve a specific number, you might use sed(1):

typ | sed -n '7s/\t.*//p'

typ is written by John Ankarström <john (a) ankarstrom.se>.

March 29, 2024 OpenBSD 7.2