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 comment

Your email address will not be published. Required fields are marked *