How do I see users in Linux?

Quốc Ân

New member
How do I see users in Linux?
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:
Photo in the article by “Picryl”
Code:
https://picryl.com/media/i-letters-alphabet-877ca0
 

Tìm kiếm

Back
Top