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

vi ~/.bashrc

HISTFILESIZE=400000000
HISTSIZE=10000
export HISTSIZE

shopt -s histappend

bash

然后运行就有历史命令了

原文地址:https://www.cnblogs.com/bonelee/p/14551453.html