默认是ctrl + s 但会与终端停止响应的快捷键冲突,但可以禁止终端的ctrl+s,再.bashrc或.bash_profile加入以下内容:
stty -ixon
https://stackoverflow.com/questions/791765/unable-to-forward-search-bash-history-similarly-as-with-ctrl-r
bash ctrl + r 向前搜索历史记录,如何向后搜索?
原文:https://www.cnblogs.com/wswind/p/13170790.html