display available users 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 users in ubuntu
cut -d: -f1 /etc/passwd
cat /etc/passwd
#check list of users in linux ubuntu
cut -d: -f1 /etc/passwd