0
点赞
收藏
分享

微信扫一扫

Linux Must-Learnt Commands

自信的姐姐 2022-10-30 阅读 122
  1. Clear successful login history:

echo > /var/log/wtmp

  1. View login history:

last

  1. Clear command's input history:

history -c  #temperarlly

sudo apt install -y wipe
wipe ~/.bash_history

  1. View PID of relevant port:

lsof -i:PORT_NUMBER



举报

相关推荐

0 条评论