getent group <groupname>;
It is portable across both Linux and Solaris, and it works with local group/password files, NIS, and LDAP configurations.
getent group <groupname>;
It is portable across both Linux and Solaris, and it works with local group/password files, NIS, and LDAP configurations.