hide random home http://www.fmi.uni-passau.de/archive/doc/unix/unixhelp/Unixhelp/shell_csh_hist4.html (Einblicke ins Internet, 10/1995)

Previewing a command from the history list

Previewing a command from the history list

You can preview a command from the history list without having to re-run it.

To... Do this...

Preview the previous command. !!:p

Preview command number n. !n:p

Preview most recent command !string:p starting with characters in string.

Preview most recent command !?string:p containing characters that match string.