Aug 09
31
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