Run the following command to get the groups of current user in Ubuntu:
groups
You will get the output like this:
ubuntu adm dialout cdrom floppy sudo audio dip video plugdev netdev lxd
Run the following command to get the groups of current user in Ubuntu:
groups
You will get the output like this:
ubuntu adm dialout cdrom floppy sudo audio dip video plugdev netdev lxd