check all users ubuntu code example
Example 1: list all users linux
awk -F: '{ print $1}' /etc/passwd
Example 2: how to get list of users in ubuntu
cat /etc/passwd
#check list of users in linux ubuntu
awk -F: '{ print $1}' /etc/passwd
cat /etc/passwd
#check list of users in linux ubuntu