Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
notfish
· 2y ago · 0 comments
Not quite a command, but ctrl+r in bash does a real useful history search
Comments
[–]
CaptainMarvel
2y ago
It certainly does A history search. For “really useful”, I would suggest replacing it with the fzf integration. McFly could perhaps be even better.
[–]
notfish
OP
2y ago
True, but this works in a completely uncustomized shell which is pretty nice - I can hop on a coworkers keyboard or a machine without my .bashrc and it just works. It mostly just replaces spamming the up arrow to find commands I already ran.
[–]
taskforcegemini
2y ago
yes, if you know what you are looking for. also helpful: history history | less history | grep -i "SEARCHSTRING"