next up previous

1.8.3 !

Repeats the last command beginning with a certain letter or history number.

Examples
!ma
repeats the last command beginning with ma, (such as man -k fortran).
!42
repeats the command numbered 42 in the history list.
!!
repeats the last command you typed in that window.