ubuntu下如何設置PageUp/PageDown鍵調出使用過的歷史命令

vi /etc/inputrc app 大約在第40行,找到page up page down的用法,去掉前面的#號,重啓終端便可input 40 # alternate mappings for "page up" and "page down" to search the history 41  "\e[5~": history-search-backward終端 42  "\e[6~": h
相關文章
相關標籤/搜索