Quickly search past commands
This is really simple, but has made my life much easier. In your .bashrc
alias his='history | grep'
then to search past commands you just run his query
Written by Paul Stepler-Camp
Related protips
1 Response
You can also use ctrl+r and the begin of command. Pressing ctrl+r again, it shows "another" result.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Related Tags
#linux
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#