How to get the list of users in Linux
To get the list of users in Linux, open terminal and query the /ect/passwd file using the following command:
awk -F':' '{ print $1}' /etc/passwd
This will list out only the username on your Linux box.
To get the list of users in Linux, open terminal and query the /ect/passwd file using the following command:
awk -F':' '{ print $1}' /etc/passwd
This will list out only the username on your Linux box.