Linux uses the default number of records in history not enough?

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 

   

 

Guess you like

Origin www.cnblogs.com/SliverLee/p/11419228.html