gecos
Package: WA2L/edrc 1.5.57
Section: Library Commands (3)
Updated: 10 October 2008
Index
Return to Main Contents
 
NAME
gecos - return the GECOS (comment) entry for a user account
 
SYNOPSIS
edrc/lib/gecos
[
-h
]
gecos username
 
AVAILABILITY
WA2L/edrc
 
DESCRIPTION
return the GECOS field (=comment) of a given user.
If the user 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.
 - username
 - 
name of an existing user on the system.
 
 
ENVIRONMENT
-
 
EXIT STATUS
- 0
 - 
no error.
 - 1
 - 
user does not exist.
 - 4
 - 
usage message printed.
 
 
FILES
-
 
EXAMPLES
-
 
SEE ALSO
edrcintro(1)
gid(3),
group(3),
homedir(3),
uid(3)
 
NOTES
-
 
BUGS
-
 
AUTHOR
gecos 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.
This document was created by man2html
using the manual pages.
Time: 16:53:04 GMT, August 28, 2024