Answers for "how to list all users in linux command"

23

list users in linux

cat /etc/passwd
Posted by: Guest on April-06-2020
1

linux show all user

awk -F: '{ print $1}' /etc/passwd
#or
cut -d: -f1 /etc/passwd
Posted by: Guest on April-28-2022
4

users list linux

cut -d: -f1 /etc/passwd
or
cat /etc/passwd
Posted by: Guest on February-25-2021

Code answers related to "how to list all users in linux command"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language