1, by default, the system can save 1000's commands.
#echo $HISTSIZE
2, then the 1000 is not enough, how to do it?
#vi / etc / profile
修改HISTSIZE=1000 >>>>>HISTSIZE=2000
3、#source /etc/profile
The document takes effect immediately;
4, the verification result.
#echo $HISTSIZE