Ubuntu上下键补全历史命令

sudo touch ~/.inputrc

set match-hidden-files off

set show-all-if-ambiguous on
set completion-ignore-case on

"\e[A": history-search-backward
"\e[B": history-search-forward

你可能感兴趣的:(服务器,linux,运维)