清除登录和命令执行记录

1、清除history,执行过的命令

# history -c

2、清除last,登录成功的记录

# /var/log/wtmp

3、清除lastb,登录失败的记录

# /var/log/btmp

1、清除history,执行过的命令

# history -c

扫描二维码关注公众号,回复: 1354334 查看本文章

2、清除last,登录成功的记录

# /var/log/wtmp

3、清除lastb,登录失败的记录

# /var/log/btmp

猜你喜欢

转载自eric-gao.iteye.com/blog/1114905