您的位置: 首页 > IT文章 > linux下查看当前登陆的用户数目 linux下查看当前登陆的用户数目 分类: IT文章 • 2023-11-14 20:04:30 在shell下输入以下语句即可获取: who | awk '{print $1}' | sort | uniq | wc -l