history | grep <keyword>
I use this for <keyword> rsync or rdesktop when I have forgotten the long list of options & directories etcI also use ctrl R <keyword> at the bash prompt but that only gives me the most recent match.
history | grep <keyword>
I use this for <keyword> rsync or rdesktop when I have forgotten the long list of options & directories etcI also use ctrl R <keyword> at the bash prompt but that only gives me the most recent match.
Are you sure, I'm using BASH on Kubuntu and I get previous matches by repeated use of ctrl+R.
Actually inspired by a previous post here I made a script "hs" that searches archived history files and shows me all past match lines. Before that I did what you do now.