linux踢人
引用
linux120:/opt/oms/run/bin#who
rootpts/0Oct2410:20(10.166.46.135)
rootpts/2Oct2411:11(10.166.46.115)
rootpts/3Oct2417:05(10.166.46.147)
linux120:/opt/oms/run/bin#w
17:32:05up1day,8:14,5users,loadaverage:0.11,0.51,0.80
USERTTYLOGIN@IDLEJCPUPCPUWHAT
rootpts/010:203:090.10s0.10s-bash
rootpts/211:115:20m0.12s0.12s-bash
rootpts/317:050.00s0.06s0.00sw
解释:
pkill-kill-t 踢人命令
tty 所踢用户的TTY
如上踢出liu用户的命令为:pkill-kill-tpts/1
只有root用户才能踢人,如果同时有二个人用root用户登录,任何其中一个可以踢掉另一个。
任何用户都可以踢掉自己-_-.
相关推荐
farwang 2020-11-25
星愿心愿 2020-11-24
tianhuak 2020-11-24
zhjn0 2020-11-24
昭君出塞 2020-11-23
bluecarrot 2020-11-23
linuxwcj 2020-10-21
以梦为马不负韶华 2020-10-20
彼岸随笔 2020-10-20
yutou0 2020-10-17
applecarelte 2020-10-16
ourtimes 2020-10-16
waterhorse 2020-09-19
MRFENGG 2020-11-11
rainandtear 2020-10-30
kyssfanhui 2020-10-20
liuhangtiant 2020-10-20