To quickly check what group our user is in, we can use the id command. To compress the result in a more easily read output, we can use id -Gn
.
For example:
t4l@laptop:~$ id -Gn
t4l adm dialout cdrom floppy audio dip video plugdev lpadmin scanner admin