Languages
[Edit]
EN

Bash - how to list system users in Linux?

11 points
Created by:
Root-ssh
94100

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

#...

 

Bash

Bash - list system users in Linux
Native Advertising
­čÜÇ
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

ÔŁĄ´ŞĆ­čĺ╗ ­čÖé

Join