Go to the previous, next section.
The basic argument to Finger is a user@host pair. The user portion is the name of the user about whom you would like information. The host is a machine that the user has an account on. When invoked in this manner, GNU Finger displays the list of hosts that this user is currently logged in on, or, if the user is not logged in, the last time and location that he or she was. host may be expressed as any valid Internet address (i.e. dot-notation, host.domain, etc).
If host is non-existent, the local host is assumed. If user is blank or unspecified, it is assumed that you want information about all users.
The content and format of the output of GNU finger
depends on
what is being fingered:
finger
will display the full name,
home directory, shell, mail forwarding, and `.plan' and/or
`.project' file. This is what the output will look like:
bash$ finger --info bson@gnu.ai.mit.edu
[apple-gunkies.gnu.ai.mit.edu]
Jan Brittenson (bson)
Home: /home/fsf/bson
Shell: /usr/local/bin/bash
Mail forwarded to bson@ai.mit.edu.
No mail.
User Real Name What Idle TTY Host Console Location
bson Jan Brittenson fgrep *p0 apple-gu (nutrimat.gnu.ai.)
bson Jan Brittenson 1:57 *sb nutrimat
Plan:
To hack GNU Finger
The following is output, in the order listed, when asking for long information (`-l' or `--info') about a particular user:
bash$ finger bson@gnu.ai.mit.edu
[apple-gunkies.gnu.ai.mit.edu]
User Real Name What Idle TTY Host Console Location
bson Jan Brittenson fgrep *p0 apple-gu (nutrimat.gnu.ai.)
bson Jan Brittenson 1:57 *sb nutrimat
Here is an explanation of what each column contains in the short example:
User
Real Name
What
Idle
TTY
Host
Console Location
In the general short output (i.e. not for a particular host), GNU Finger lists the least idle login for a particular user on each host. A single user often has several logins, since on some systems each window opened creates its own login record. In addition to the least idle login, the console login is also always listed, regardless of how long it has been idle.
To list all login records for a particular, host, use the special target `.local'. For example, while the following may be part of the general short finger listing for the host `mole.gnu.ai.mit.edu':
brendan Brendan Kehoe 5:09 *p8 mole (lisa.cygnus.com)
info InfoMaster 12:12 *p4 mole (hal)
law Jeffrey A. Law 3:52 *p7 mole (128.110.4.17:0.0)
rms Richard Stallman sendmai 1:34 *p1 mole (unix:0.0)
rms Richard Stallman 6 days *co mole
The last line is the console. The following might be listed by the command `finger .local@mole.gnu.ai.mit.edu':
[mole.gnu.ai.mit.edu]
User Real Name What Idle TTY Host Console Location
brendan Brendan Kehoe 5:18 *p8 mole (lisa.cygnus.com)
info InfoMaster 12:22 *p4 mole (hal)
law Jeffrey A. Law 4:01 *p7 mole (128.110.4.17:0.0)
rms Richard Stallman sendmai 1:44 *p1 mole (unix:0.0)
rms Richard Stallman 23:08 *p0 mole (unix:0.0)
rms Richard Stallman 1 day, *p2 mole (unix:0.0)
rms Richard Stallman 6 days *co mole
% finger --info postmaster@gnu.ai.mit.edu postmaster is an alias for the following: Roland McGrath <roland>, <tower@prep.ai.mit.edu>, Noah Friedman <friedman>, Michael I Bushnell <mib>
% finger .site@gnu.ai.mit.edu This is the FSF GNU Project. For more information, please contact "postmaster". For information about guest accounts, please contact "request".
There are a number of command line options that you can give to GNU Finger:
finger
as
distributed from Berkeley has this option.
You can give GNU Finger one of several "special" user names. These user names all begin with a period (`.') and instruct the receiving finger daemon to do something that only a GNU Finger daemon can do. Currently, the "special" names are:
finger
command
without specifying the user name.
Go to the previous, next section.