shell记录

查看linux服务器有哪些人曾经ssh登陆过,以及他们的登录信息

 

who查看当前正在ssh链接中的

last查看最近被链接过的

 

who
last
netstat
     -nltp
     -anp
lsof
     -i:8080
     nohup.out
cut
     -b 3-10
wc
     -l a.txt
fdisk
     -l
mount
     /dev/vdb1 /mnt
posted @ 2016-01-06 14:40  天之灵  阅读(104)  评论(0)    收藏  举报