Hương Trang
New member
How do I list users in Linux?
Answer
There are several ways you can obtain the list of users in Linux.
Answer
There are several ways you can obtain the list of users in Linux.
- Show users in Linux using less /etc/passwd. This command allows sysops to list the the users that are locally stored in the system.
- View users using getent passwd.
- List Linux users with compgen.