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

Olivier:

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
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to