!
From MUME
The '!' command repeats the last command typed.
To show the list of the most recent commands, type '!?'.
To recall command with number <index>, type '!<index>'.
You can also type '!<string>' to rerun the most recent command starting with <string>.
For example:
> eat bread You eat the bread.
and later:
> !ea [eat bread] You eat the bread.