1.踢掉其他用户
meTest=$(who i am |awk '{print $5}');
for i in `who |grep -v $meTest | awk '{print $2}'`;
do pkill -9 -t $i;
done
2.
本文来自博客园,作者:易先讯,转载请注明原文链接:https://www.cnblogs.com/gongxianjin/p/17491203.html