Quickly repeat a single character in Terminal: “In the Terminal, if you press and hold Option, then type a few numeric keys, then press a character, the result is that the character will be repeated that many times. For instance:
Option [hold] and 10, followed by K will r…”
(Via Mac OS X Hints.)