check user ubuntu code example
Example 1: ubuntu know username
whoami
or
echo $USER
Example 2: how to get list of users in ubuntu
cat /etc/passwd
#check list of users in linux ubuntu
whoami
or
echo $USER
cat /etc/passwd
#check list of users in linux ubuntu