Hack 55. Control the total number of lines in the history using HISTSIZE
by Ramesh
Append the following two lines to the .bash_profile and relogin to the bash shell again to see the change. In this example, only 450 command will be stored in the bash history.
- # vi ~/.bash_profile
- HISTSIZE=450
- HISTFILESIZE=450
当前内容版权归 Ramesh Natarajan 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 Ramesh Natarajan .