How can I list all users with their username and group-name in UNIX systems?
I want to take report form /etc/passwd
file and /etc/group
file
In passwd file, I'll get only GIDS but I also want to get group-name from /etc/group
, and it should come in one report like I want below mention Fotomat
User neme ( user ID) , Group name ,