“Pesquisa reversa do terminal” Respostas de código

Pesquisa reversa do terminal

Ctrl + r to enable reverse search
Press again Ctrl + r to search the next entry
Thankful Turtle

Reverse Serach Linux

CTRL + S

...solved it for me AFTER using...

stty -ixon
If CTRL+S doesn't work for you is because according to Vincenzo Pii's accepted answer in another related thread:

The problem is that this binding, in many terminals, is used by default to send the pause transmission code (XOF).

As in man stty:

[-]ixon
    enable XON/XOFF flow control
So, if you have this option enabled on your terminal (the output of stty -a contains ixon withouth the - sign in front), you cannot use CTRL+S in the context of reverse-i-search.

To disable it, use the following command:

stty -ixon
And CTRL+S will give you a (i-search) (non reverse).
Dangerous Dormouse

Respostas semelhantes a “Pesquisa reversa do terminal”

Perguntas semelhantes a “Pesquisa reversa do terminal”

Mais respostas relacionadas para “Pesquisa reversa do terminal” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código