this post was submitted on 01 Dec 2024
417 points (99.5% liked)

Bash

902 readers
1 users here now

Talk about the Bash Shell and Bash scripting

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] programmer_belch@lemmy.dbzer0.com 3 points 5 months ago* (last edited 5 months ago)

I am not sure what the default keybinding is for this but I always create a .inputrc file for searching forward and backward in the history without opening the C-r menu:

"C-p": history-search-backward
"C-n": history-search-forward