1.查看当前用户: who 2.查看所有用户:cat /etc/passwd 转载于:https://www.cnblogs.com/greenteaone/archive/2013/05/06/3062496.html