From: http://bbs.chinaunix.net/thread-3612167-1-1.html 在~/.bash_profile里面添加 export HISTSIZE=1000 转载于:https://www.cnblogs.com/spaces/p/3460667.html