Linux更改默history条数

1编辑统环量文件

vim /etc/profile

Linux系统更改默认的history条数

46行的HISTSIZE=1000 history的条数

 

2:修改其5000

Linux系统更改默认的history条数

保存退出

 

3:声明

source /etc/profile

即可

 

相关文章: