mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
352 B
352 B
List All Users
On unix-based systems, all system users are listed with other relevant
information in the /etc/passwd file. You can output a quick list of the
users by name with the following command:
$ cut -d: -f1 /etc/passwd