Browse in commands

Hi, On Linux

Linux 3.10.0-693.21.1.el7.x86_64
How to enable :

history-search

I did the following without success:

in my .inputrc , like so:

"\e[A": history-search-backward            # arrow up
 "\e[B": history-search-forward             # arrow down

And .profile :

export INPUTRC=~/.inputrc

Thanks.

history-search is a function of the shell, not the kernel. Therefore it would be more interesting to know which shell you use and which version of it. I guess in a Linux system it is probably bash, but instead of letting me guess you might simply tell us.

I hope this helps.

bakunin

1 Like