check usersers ubuntu code example
Example 1: how to get list of users in ubuntu
cat /etc/passwd
#check list of users in linux ubuntu
Example 2: list all user ubuntu server
cut -d: -f1 /etc/passwd
cat /etc/passwd
#check list of users in linux ubuntu
cut -d: -f1 /etc/passwd