FINGER.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:2k
源码类别:
操作系统开发
开发平台:
C/C++
- ." Copyright (c) 1980 Regents of the University of California.
- ." All rights reserved. The Berkeley software License Agreement
- ." specifies the terms and conditions for redistribution.
- ."
- ." @(#)finger.1 6.4 (Berkeley) 5/10/86
- ."
- .TH FINGER 1 "May 10, 1986"
- .UC 4
- .SH NAME
- finger - user information lookup program
- .SH SYNOPSIS
- .B finger
- [
- options
- ] name ...
- .SH DESCRIPTION
- By default
- .B finger
- lists the login name, full name, terminal name and write status
- (as a `*' before the terminal name if write permission is denied),
- idle time, login time, and office location and phone number
- (if they are known) for each current UNIX user.
- (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.)
- .PP
- A longer format also exists and is used by
- .B finger
- whenever a list of people's names is given. (Account names as well as
- first and last names of users are accepted.)
- 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
- .B &.plan
- in their home
- directory, and the project on which they are working from the file
- .B &.project
- also in the home directory.
- .PP
- .B Finger
- may be used to lookup 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.
- .PP
- .B Finger
- options include:
- .TP
- .B -m
- Match arguments only on user name.
- .TP
- .B -l
- Force long output format.
- .TP
- .B -p
- Suppress printing of the
- .B &.plan
- files
- .TP
- .B -s
- Force short output format.
- .SH FILES
- .ta 2i
- /etc/utmp who file
- .br
- /etc/passwd for users names, offices, ...
- .br
- /usr/adm/lastlog last login times
- .br
- ~/.plan plans
- .br
- ~/.project projects
- .SH "SEE ALSO"
- .BR chfn (1),
- .BR w (1),
- .BR who (1).
- .SH AUTHOR
- Earl T. Cohen
- .SH BUGS
- Only the first line of the
- .B .project
- file is printed.
- .PP
- There is no way to pass arguments to the remote machine as
- .B finger
- uses an internet standard port.