linux history 删除
来源:互联网 发布:奥德利条幅机文泰软件 编辑:程序博客网 时间:2024/06/06 04:01
Kindle提醒下大家,入侵时目标如果是linux服务器,看切忌清理痕迹的时候别忘记history命令的记录哦
1、修改/etc/profile将HISTSIZE=1000改成0或1
清除用户home路径下。bash_history
2、立即清空里的history当前历史命令的记录
history -c
3、bash执行命令时不是马上把命令名称写入history文件的,而是存放在内部的buffer中,等bash退出时会一并写入。
不过,可以调用'history -w'命令要求bash立即更新history文件。
history -w
本篇文章来源于 黑客基地-全球最大的中文黑客站 原文链接:http://www.hackbase.com/tech/2009-07-20/54028.html
0 0
- linux history 删除
- Linux系统下history命令的记录如何删除
- 删除Linux系统下history记录的方法
- 删除Linux系统下history记录的方法
- 删除修改Linux系统下history记录的方法
- Linux命令:date,history,光标移动,删除字符
- Linux history
- linux history
- linux history
- linux history 命令 禁用history
- History of Linux
- linux history使用
- linux history命令
- linux 的history命令
- Linux history使用
- Linux history命令用法
- Linux history命令用法
- linux bash history
- 让以前的淘帝起死回生,淘客帝国 n…
- 我心目中中国政府的“十大罪”
- sql 2008 排序
- sql导入导出 excel文件
- 羽绒服10大品牌介绍
- linux history 删除
- tar.gz2 解压缩
- rndc: connect failed 解决
- android中mainifest的一些属性
- yum 常用 命令
- BIND 高级特性 转发 forwarder
- DNS服务器--转发解析请求
- 正则表达式语法
- 35. GNU SQL Server