- Clear successful login history:
echo > /var/log/wtmp
- View login history:
last
- Clear command's input history:
history -c
标签:Commands,Learnt,Clear,Linux,login,Must,history
From: https://www.cnblogs.com/ezhar/p/16827833.html
echo > /var/log/wtmp
last
history -c
标签:Commands,Learnt,Clear,Linux,login,Must,history
From: https://www.cnblogs.com/ezhar/p/16827833.html