Daehyun
3/26/2017 - 5:33 AM

grpid

#!/bin/sh
gid=$(getent group $* | cut -d: -f3)
echo $gid