Kill用户Pkill
跳到导航
跳到搜索
强制踢人命令格式:pkill -kill -t tty tty 所踢用户的TTY或者pts/x(x代表数字) evan@evanpc:~/$ w 19:17:41 up 9:46, 2 users, load average: 0.20, 0.26, 0.11 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT evan tty2 :0 09:32 9:46m 17:07 0.00s fcitx evan pts/5 192.168.10.107 17:45 1:08m 0.17s 0.17s -bash evan@evanpc:~/$ pkill -kill -t pts/5