users

users 功能说明:显示已经登录的系统用户。
如果是同一个用户登陆多次,则登录几次就会显示几次用户名

[root@testdb62 ~]# users
root root



原文地址:https://www.cnblogs.com/l10n/p/14167651.html