groups – print the groups a user is in

commandline session

$groups
jeffrin tty dialout audio www-data mysql wireshark
$groups --version | grep David
Written by David MacKenzie and James Youngman.
$
$groups jeffrin
jeffrin : jeffrin tty dialout audio www-data wireshark mysql
$groups user
groups: user: no such user
$groups mysql
mysql : mysql
$groups wireshark
groups: wireshark: no such user
$groups www-data
www-data : www-data
$groups tty
groups: tty: no such user
$groups dialout
groups: dialout: no such user
$groups audio
groups: audio: no such user
$

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s