gid

Package: WA2L/edrc 1.5.57
Section: Library Commands (3)
Updated: 10 October 2008
Index Return to Main Contents

 

NAME

gid - return the numeric group-id (GID) of a group

 

SYNOPSIS

edrc/lib/gid [ -h ]

gid groupname

 

AVAILABILITY

WA2L/edrc

 

DESCRIPTION

return the numeric group-id (GID) of a given group.

If the group does not exist on the system (or in an equivalent coming from some server somewhere) an empty string is returned.

 

OPTIONS

-h
print usage message.

groupname
name of an existing group on the system.

 

ENVIRONMENT

-

 

EXIT STATUS

0
no error.

1
group does not exist.

4
usage message printed.

 

FILES

-

 

EXAMPLES

-

 

SEE ALSO

edrcintro(1) gecos(3), group(3), homedir(3), uid(3), user(3)

 

NOTES

-

 

BUGS

-

 

AUTHOR

gid was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net . 

 

COPYRIGHT

Copyright © 2008 Christian Walther

This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
ENVIRONMENT
EXIT STATUS
FILES
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 16:53:06 GMT, August 28, 2024