Bash history searching
Jump to navigation
Jump to search
I learned these commands from looking over David's shoulder and have found them very useful.
Search bash history
A very useful way to quickly repeat a previous command, even if it was last used quite a while ago.
CTRL - R
then type what to search for.
Copy and past the last argument of the previous command
ALT - .
very useful in situations like
$ ls /sharedscrach/js850/mydir/anotherdir/myfile $ vi ALT - .