I was looking for a way to list all the previous commands matching a particular input. For example, I am in the following working directory
[root@kayan /home]
Now I am looking for the previous command, for example.
less /home/kayan/scripts/ave.sh
So, when I pressed ctrl + R and typed ave.sh, it only shows my last used command ie
(reverse-i-search)`ave.sh': vi ave.sh
I need a method to see all previous commands that match ave.sh
source
share