linux无法使用历史命令解决方法

vi ~/.bashrc

 

HISTFILESIZE=400000000
HISTSIZE=10000
export HISTSIZE

shopt -s histappend

 

 

bash

然后运行就有历史命令了

posted @ 2021-03-17 19:48  bonelee  阅读(529)  评论(0编辑  收藏  举报