EN
Bash - how to list system users in Linux?
11
points
Using Bash it is possible to list users in Linux in following way.
1. /etc/passwd
file example
$ cat /etc/passwd | cut -d : -f 1
Output:
root
daemon
bin
sys
sync
games
man
lp
mail
news
uucp
proxy
#...