Re-running a command from the history list

To run a command from the history list use a command from this table.

To... Do this...

Run the previous command. !!

Run command number n. !n

Run most recent command !string starting with characters in string.

Run most recent command !?string containing characters that match string.


Top document