21
22 /*
23 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
26
27 /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
28 /* All Rights Reserved */
29
30 /*
31 * Copyright (c) 1982, 1986, 1988
32 * The Regents of the University of California
33 * All Rights Reserved
34 *
35 * Portions of this document are derived from
36 * software developed by the University of California, Berkeley, and its
37 * contributors.
38 */
39
40 /*
41 * This is a finger program. It prints out useful information about users
42 * by digging it up from various system files.
43 *
44 * There are three output formats, all of which give login name, teletype
45 * line number, and login time. The short output format is reminiscent
46 * of finger on ITS, and gives one line of information per user containing
47 * in addition to the minimum basic requirements (MBR), the user's full name,
48 * idle time and location.
49 * The quick style output is UNIX who-like, giving only name, teletype and
50 * login time. Finally, the long style output give the same information
51 * as the short (in more legible format), the home directory and shell
52 * of the user, and, if it exits, a copy of the file .plan in the users
53 * home directory. Finger may be called with or without a list of people
54 * to finger -- if no list is given, all the people currently logged in
55 * are fingered.
56 *
57 * The program is validly called by one of the following:
58 *
59 * finger {short form list of users}
60 * finger -l {long form list of users}
|
21
22 /*
23 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
26
27 /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
28 /* All Rights Reserved */
29
30 /*
31 * Copyright (c) 1982, 1986, 1988
32 * The Regents of the University of California
33 * All Rights Reserved
34 *
35 * Portions of this document are derived from
36 * software developed by the University of California, Berkeley, and its
37 * contributors.
38 */
39
40 /*
41 * Copyright (c) 2018, Joyent, Inc.
42 */
43
44 /*
45 * This is a finger program. It prints out useful information about users
46 * by digging it up from various system files.
47 *
48 * There are three output formats, all of which give login name, teletype
49 * line number, and login time. The short output format is reminiscent
50 * of finger on ITS, and gives one line of information per user containing
51 * in addition to the minimum basic requirements (MBR), the user's full name,
52 * idle time and location.
53 * The quick style output is UNIX who-like, giving only name, teletype and
54 * login time. Finally, the long style output give the same information
55 * as the short (in more legible format), the home directory and shell
56 * of the user, and, if it exits, a copy of the file .plan in the users
57 * home directory. Finger may be called with or without a list of people
58 * to finger -- if no list is given, all the people currently logged in
59 * are fingered.
60 *
61 * The program is validly called by one of the following:
62 *
63 * finger {short form list of users}
64 * finger -l {long form list of users}
|