Command | Meaning |
---|---|
$ history | display a list of recent commands you have entered; the commands on this list are numbered |
$ !! | repeat the previous command |
$ !n | (where n is a number from your history list) repeat the command numbered n in your history list |
$ !string | (where string is a series of characters) repeat the most recent command in your history whose first characters match string |