Skip to main content

Thread: bash history: have up arrow filter only matching entries


hi,

remember using linux (don't know distros i'm sure more one) ages ago, , when started typing command in terminal , hit arrow key, show me commands started characters had typed.

example, suppose recent commands in bash history (latest first) were: "ls -la", "grep foo /", "clear", "groupadd bar". if typed "gr" , hit arrow key, command "grep foo" appear, because recent matched "gr".

not happen in ubuntu, nor has ages. when hit arrow key, last item (and last one, , on) in bash history shows up, no matter whether matches or not have typed far.

there configuration file somewhere can edit have feature back? , way, there reason why "removed"? seems me extremely useful , can't see drawbacks in it...

what if type ctrl-r first before entering letters , pressing arrow?


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [all variants] bash history: have up arrow filter only matching entries


Ubuntu

Comments

Popular posts from this blog

Falang and too many redirects - Joomla! Forum - community, help and support

Infinite loop detected in JErrorInfinite loop detected in JError - Joomla! Forum - community, help and support

logged out from joomla! - Joomla! Forum - community, help and support