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:
The following is output, in the order listed, when asking for long information (`-l' or `--info') about a particular user: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
Here is an explanation of what each column contains in the short example: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
User
Real Name
What
Idle
TTY
Host
Console Location
The last line is the console. The following might be listed by the command `finger .local@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
[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".
Go to the first, previous, next, last section, table of contents.