How do I see users in Linux?
Answer
Get a List of All Users using the /etc/passwd File
Answer
Get a List of All Users using the /etc/passwd File
- Local user information is stored in the /etc/passwd file.
- If you want to display only the username you can use either awk or cut commands to print only the first field containing the username:
- To get a list of all Linux users type the following command:
Code:
https://picryl.com/media/i-letters-alphabet-877ca0