list all user linux ubuntu code example Example: how to get list of users in ubuntu cat /etc/passwd #check list of users in linux ubuntu