Jul 7, 2013

Check existing user and group in linux for beginner

I've been checking through the internet to find out a simple command to find out I have what group in my Linux, Fedora:
getent group
so it'll display all the available group with user in return.

to simple return current user's group, simply use:
groups or groups <username>
to display a user's group.

User link to refer: 

No comments:

Post a Comment

Hey, thank you for spending time leaving some thoughts, that would be really helpful as encouragement for us to write more quality articles! Thank you!