1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 15:18:01 +00:00
Files
til/unix/list-all-users.md
2015-10-25 19:17:36 -05:00

12 lines
352 B
Markdown

# 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
```
[source](http://askubuntu.com/questions/410244/a-command-to-list-all-users-and-how-to-add-delete-modify-users)