FINGER(1,C) AIX TCP/IP User's Guide FINGER(1,C)
-------------------------------------------------------------------------------
finger
PURPOSE
Shows user information.
SYNTAX
+--------+
finger ---| +----+ |--- name ---|
+-| -b |-+ ^ |
^| -f || +--------+
|| -h ||
|| -i ||
|| -l ||
|| -L ||
|| -m ||
|| -p ||
|| -q ||
|| -s ||
|| -w ||
|+----+|
+------+
DESCRIPTION
By default, the finger command lists the login name, full name, terminal name
and write status (as a * before the terminal name if write permission is
denied), site, idle time, login time, office location and phone number, if
known, for each current AIX user on the TCF cluster. Idle time is minutes if
it is a single integer, hours and minutes if a (:) is present, or days and
hours if a d is present.
A longer format also exists and is used by the finger command whenever a list
of people's names is given. The finger command lists information for all users
whose account names, or first or last names begin with the string you specify.
This format is multi-line and includes all the information described above as
well as the user's home directory and login shell, any plan which the person
has placed in the file .plan in their home directory, and the project on which
they are working from the file .project also in the home directory.
The chfn command allows you to change the information the finger command
displays about you.
The finger command can be used to look up users on a remote machine. The
format is to specify the user as user@host. If the user name is left off, the
standard format listing is provided on the remote machine. The f command is a
Processed October 29, 1990 FINGER(1,C) 1
FINGER(1,C) AIX TCP/IP User's Guide FINGER(1,C)
link to finger. It can be used instead of finger to provide the same
functionality.
If host is the name of a site in the local TCF cluster, finger behaves as
though you had issued the command:
onsite host finger -L (other_flags) (user)
If host is the name of a host outside the local TCF cluster or if your local
host is not a member of a TCF cluster, finger ignores all flags other than -l.
Only long and short listings are possible with these remote hosts.
FLAGS
The finger command options include:
-b Gives a brief output (directory and shell not printed).
-f Suppresses header on short format output.
-h Suppresses printing of the .project files.
-i Prints out idle time using short format. Short format is used even if the
-l option is used.
-l Forces long output format.
-L On short format output, only lists user logged in to the local.
-m Matches arguments only on user name.
-p Suppresses printing of the .plan files.
-q Gives brief output in short format (prints login, tty, and date of log
in).
-s Forces short output format.
-w Suppresses real name when -s is used with -w.
EXAMPLES
Processed October 29, 1990 FINGER(1,C) 2
FINGER(1,C) AIX TCP/IP User's Guide FINGER(1,C)
$ finger
Login Name TTY Site Idle When Office
jefff Jeff Fields C0 host1 25 Fri 07:54
tsmith Tim Smith 1 host1 Thu 16:37 3330-213 x363
tim Tim Burt 2 host2 12 Thu 09:20
jon Jon Buerge p1 host3 1d Wed 08:00
$
$ finger tim
Login name: tim In real life: Tim Burt
Directory: /u2/tim Shell: /bin/csh
On since Jun 16 09:20:13 on tty3 at host2. 12 minutes Idle Time
No Plan.
$ finger tsmith
Login name: tsmith In real life: Tim Smith
Office: 3330-213, x363 Home phone: 207-1041
Directory: /u3/tsmith Shell: /bin/csh
On since Jun 16 16:37:15 on tty1 at host1.
Project: TCP/IP command examples
Plan: AIX System/370 documentation.
$
FILES
/etc/utmp who file
/etc/passwd for users names, offices
~/.plan plans
~/.project projects -- only the first line of the .project file
is printed.
RELATED INFORMATION
In this book: "finger"
who, refer to the AIX Operating System Commands Reference
chfn, refer to the AIX Operating System Commands Reference
Processed October 29, 1990 FINGER(1,C) 3