ubuntu how to find sudo users code example Example: list sudo users ubuntu grep -Po '^sudo.+:\K.*$' /etc/group