Saturday, August 8, 2009

RHCE Tips: Command to display all users on your system

If you want to display all the users on your Linux Box, just run this command:

#cat /etc/passwd |grep "/home" |cut -d: -f1

No comments:

Post a Comment