- Clear successful login history:
echo > /var/log/wtmp
- View login history:
last
- Clear command's input history:
history -c #temperarlly
sudo apt install -y wipe
wipe ~/.bash_history
- View PID of relevant port:
lsof -i:PORT_NUMBER
Linux Must-Learnt Commands
阅读 122
2022-10-30
echo > /var/log/wtmp
last
history -c #temperarlly
sudo apt install -y wipe
wipe ~/.bash_history
lsof -i:PORT_NUMBER
相关推荐
精彩评论(0)