!! : to run the previous command
^P : move up through history list, one command at a time. (Up arrow key)
^N : move down (or Down arrow key).
!n : run nth command in history list. where n is a number from your history list.
!n:p : only preview command number n (will not execute the command).
!string : Run most recent command starting with characters in string.
No comments:
Post a Comment