> Hi,
> >From a Bourne shell script, how to get (and test) the group id of the
> user that is executing the script?
> Best regards,


id -gn   should give you the group name. Drop the -n if you want just the
numberic id.

 - barry

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to