web日志,如 apache 的 access.log,error.log。直接将日志清除过于明显,一般使用sed 进行定向清除
e.g. sed -i -e ‘/192.169.1.1/d’
history 命令的清除,也是对~/.bash_history 进行定向清除
wtmp日志的清除,/var/log/wtmp
登录日志清除 /var/log/secure
web日志,如 apache 的 access.log,error.log。直接将日志清除过于明显,一般使用sed 进行定向清除
e.g. sed -i -e ‘/192.169.1.1/d’
history 命令的清除,也是对~/.bash_history 进行定向清除
wtmp日志的清除,/var/log/wtmp
登录日志清除 /var/log/secure