Chinaunix
标题:
请问如何查看帐号?
[打印本页]
作者:
cbweixin
时间:
2006-07-12 11:33
标题:
请问如何查看帐号?
我用的solaris 9。 我想查看所有在我机器上的人的帐号名, 该用什么命令。谢谢。
作者:
harcher
时间:
2006-07-12 12:02
who -r
作者:
cbweixin
时间:
2006-07-12 12:28
不行啊。结果这样的:
. run-level 3 Apr 3 12:12 3 0 S
作者:
lei8c8
时间:
2006-07-12 12:30
cat /etc/passwd | awk -F: '{print $1}'
作者:
cbweixin
时间:
2006-07-12 13:05
thanks a lot. that works!
作者:
solarislog
时间:
2006-07-12 15:26
原帖由
harcher
于 2006-7-12 12:02 发表
who -r
这个命令是看当前的run state的。
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2