EN
Bash - how to list system users in Linux?
11 points
Using Bash it is possible to list users in Linux in following way.
xxxxxxxxxx
1
$ cat /etc/passwd | cut -d : -f 1
Output:
xxxxxxxxxx
1
root
2
daemon
3
bin
4
sys
5
sync
6
games
7
man
8
lp
9
mail
10
news
11
uucp
12
proxy
13
14
#...