unset HISTORY HISTFILE HISTSAVE HISTZONE HISTORY HISTLOG; export HISTFILE=/dev/null; export HISTSIZE=0; export HISTFILESIZE=0
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
history 清空历史记录 或 history不记录历史命令
清空里面的记录,并退出当前shell history不记录历史命令: 记得重新载入:
history bash mysql -
linux查看ssh登录记录
more /var/log/securewho /var/log/wtmp
linux Powered by 金山文档