Quantcast
Channel: BSDpants
Viewing all articles
Browse latest Browse all 25

bash history grep alias

$
0
0
In a previous post, I introduced many useful bash shell aliases that I use. There's one that I've made a notable improvement to that I'd like to share. If you spend a lot of time on the command-line and use bash, you should really try this out.'bhg', for "bash history grep," was a pretty simple alias to search through your bash history file. Previously, I used it like this:alias bhg='cat $

Viewing all articles
Browse latest Browse all 25

Trending Articles