history 基本用法

设置记录保存的数量,默认1000:html /etc/profile 记录保存文件,可用来查看或修改记录:bash ~/.bash_history 若是是root用户就是在/root/.bash_history 直接删掉这个文件会清除全部历史记录,再登录系统会自动从新生成这个文件。  没法清除记录的方式post history -c   转载于:https://www.cnblogs.com/ga
相关文章
相关标签/搜索