查看历史登录记录:
last
utmpdump /var/log/btmp
清除历史登录记录:
echo > /var/log/wtmp
查看失败登录记录:
lastb
utmpdump /var/log/btmp
清除失败登录记录:
echo > /var/log/btmp
清除历史命令:
history -c
echo > ~/.bash_history
标签:linux, linux清除用户登录记录, last, lastb, history
发布时间:May 22, 2012 // 分类:Linux基础 // No Comments
查看历史登录记录:
last
utmpdump /var/log/btmp
清除历史登录记录:
echo > /var/log/wtmp
查看失败登录记录:
lastb
utmpdump /var/log/btmp
清除失败登录记录:
echo > /var/log/btmp
清除历史命令:
history -c
echo > ~/.bash_history
标签:linux, linux清除用户登录记录, last, lastb, history