5 ms·
You can use ctrl+r for commands which are similar (say ssh to n number of servers, so the up/down would still take some amount of browsing the options) Just ta
by codegladiator 6y ago
You can use ctrl+r for commands which are similar (say ssh to n number of servers, so the up/down would still take some amount of browsing the options)
Just tag commands with a # at the end
> $ complex command here # tagHere
Later use the tag with ctrl+r
I do this all the time
> ssh 127.0.0.1 # master
- asicsp 6y agoyep, ctrl+r is better suited for such cases or whenever you have to match a command other than starting characters and I think there are some fuzzy matching options (like fzf) that can be added to ctrl+r