Two techniques
Say the most recent thing you did that began with the letter p was
pico myStuff.html
Then in UNIX, if you type
r p
It will execute again (repeat) pico myStuff.html
Etc., etc, etc
EDITOR=/opt/gnu/bin/emacs VISUAL=/opt/gnu/bin/emacs FCEDIT=/opt/gnu/bin/emacs export MFEDIT="/opt/gnu/bin/emacs +%d %s" export TEXEDIT="/opt/gnu/bin/emacs +%d %s"
Here to go through your "history" of commands,