Aug  09
31

List users on Linux machines

August 31st, 2009
Posted in: Linux by Michele

Administering machines based on Linux, you often have the need to get a list of all users registered on the system using the command shell. The following command can be used on Linux machines to get a list of users:

cat /etc/passwd | cut -d ":" -f1

Leave a Reply

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

Reload Image

Insert the code and submit the comment (case-sensitive)