💻 Software
Is there a way of using ctrl-r after typing part of command in bash?
Fresh7 days ago
Mar 15, 20262901 viewsConfidence Score0%
0%
Problem
In bash the Ctrl+r command is very useful, I type Ctrl+r and it searchs my history for commands containing the word . But if I type and realize that I would like search that word and hit Ctrl+r nothing happens. Is there a way hitting a key and having it behaving as if I had typed Ctrl+r instead of …
Error Output
"\C-p": history-search-backward
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Is there a way of using ctrl-r after typing part of command in bash?
Low Risk
You can search bash's history using what you have already typed easily. Suppose you have just typed and you forgot to type Ctrl+r first: If you want to do an i-search on your history, go to the beginning of line first (Ctrl+a), enter i-search (Ctrl+…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix