4 ms·
Not quite a command, but ctrl+r in bash does a real useful history search
by notfish 3y ago
Not quite a command, but ctrl+r in bash does a real useful history search
- CaptainMarvel 3y agoIt certainly does A history search. For “really useful”, I would suggest replacing it with the fzf integration. McFly could perhaps be even better.
- notfish 3y agoTrue, 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 3y agoyes, if you know what you are looking for. also helpful: history history | less history | grep -i "SEARCHSTRING"