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