设置记录历史命令的条数 From: http://bbs.chinaunix.net/thread-3612167-1-1.html 在~/.bash_profile里面添加 export HISTSIZE=1000