finger(1)
NAME
finger − display information about local and remote users
SYNOPSIS
finger [ −bfhilmpqsw ] [ username... ]
finger [−l ] [ username@hostname1[@hostname2...@hostnamen] ... ]
finger [−l ] [ @hostname1[@hostname2...@hostnamen] ... ]
AVAILABILITY
SUNWcsu
DESCRIPTION
By default, the finger command displays in multi-column format the following information about each logged-in user:
• user name
• user’s full name
• terminal name (prepended with a ‘∗’ (asterisk) if write-permission is denied)
• idle time
• login time
• host name, if logged in remotely
Idle time is in minutes if it is a single integer, in hours and minutes if a ‘:’ (colon) is present, or in days and hours if a ‘d’ is present.
When one or more username arguments are given, more detailed information is given for each username specified, whether they are logged in or not. username must be that of a local user, and may be a first or last name, or an account name. Information is presented in multi-line format as follows:
• the user name and the user’s full name
• the user’s home directory and login shell
• time the user logged in if currently logged in, or the time the user last logged in; and the terminal or host from which the user logged in
• last time the user received mail, and the last time the user read mail
• the first line of the $HOME/.project file, if it exists
• the contents of the $HOME/.plan file, if it exists
If the arguments username@hostname1[@hostname2...@hostnamen] or
@hostname1[@hostname2...@hostnamen] are used, the request is sent first to hostnamen and forwarded through each hostnamen-1 to hostname1. The program uses the finger user information protocol (see RFC 1288) to query that remote host for information about the named user (if username is specified), or about each logged-in user. The information displayed is server dependent.
OPTIONS
The username@hostname form supports only the −l option.
−b Suppress printing the user’s home directory and shell in a long format printout.
−f Suppress printing the header that is normally printed in a non-long format printout.
−h Suppress printing of the .project file in a long format printout.
−i Force “idle” output format, which is similar to short format except that only the login name, terminal, login time, and idle time are printed.
−l Force long output format.
−m Match arguments only on user name (not first or last name).
−p Suppress printing of the .plan file in a long format printout.
−q Force quick output format, which is similar to short format except that only the login name, terminal, and login time are printed.
−s Force short output format.
−w Suppress printing the full name in a short format printout.
FILES
$HOME/.plan user’s plan
$HOME/.project user’s projects
/etc/passwd password file
/var/adm/lastlog time of last login
/var/adm/utmp accounting
SEE ALSO
NOTES
The finger user information protocol limits the options that may be used with the remote form of this command.
SunOS 5.4 — Last change: 11 Oct 1993