nix, shell, perl, php, mysql and mac os x tips and tricks

Thursday, July 14, 2011

Search bash history

Not sure why I never new this, but hitting ^r in bash will put you into history search mode. Type the beginning of the command, then just keep hitting ^R to go back in history. Helps when you want to find a long command that you entered previously.

No comments:

Post a Comment