finger 中文man页面

系统
The finger 显示关于系统用户的信息

NAME 名称

finger - 用户信息查找程序  

总览

finger [-lmsp ] [user ... ] [user@host ... ]  

描述

The finger 显示关于系统用户的信息

参数:

-s
Finger 显示用户的登录名, 真名, 终端名 以及写状态(如果写被禁止,在终端名后显示一个``*''), 空闲时间,登录时间,办公地点和电话等。

登录时间显示为月,天,小时和分钟,如果是超过6个月以前,则显示年份,而不是小时和分钟。

不明设备以及不存在的空闲时间和登录时间显示为一个星号。

-l
产生一个多行显示来描述信息 -s 关于用户家目录,家庭电话,登录脚本,邮件状态和文件的内容 ``.plan '' 和 ``.project '' 和 ``.forward '' 从用户的家目录.

11位数字电话号码显示为 ``+N-NNN-NNN-NNNN''. 十位或七位数字可以显示为它的子集。五位数字电话号码显示为 ``xN-NNNN''. 四位数字电话号码显示为 ``xNNNN''.

如果对设备写被禁止, 短语 ``(messages off)'' 被附加在有此设备的行后边. 每一个用户有一个条目,用 -l 选项; 如果一个用户多次登录, 终端信息按每次登录重复显示。.

如果什么邮件都没有,邮件信息显示为``No Mail.'', 如果当新邮件来后,已经查看过信箱,为``Mail last read DDD MMM ## HH:MM YYYY (TZ)'' 如果有新邮件,则为 ``New mail received ...'',`` Unread since ...''

-p
防止 finger -l 选项显示 ``.plan ''
 和 ``.project '' 文件的内容。
-m
防止 user 名字的匹配. User 通常是一个登录名; 可是, 也会对用户的真实名字进行匹配, 除非提供 -m 选项. 所有由 finger 进行的名字匹配是区分大小写的

不指定 finger 的选项如果提供操作者的话,缺省设为 -l 输出风格,否则为 -s 风格. 注意在两种格式中,如果信息不足,都有一些域可能丢失,

如果没有指定参数 finger 会为当前登录的每个用户打印一个条目.

Finger 可以用来查看远地机器上的用户信息格式是指定 user 为 ``user@host , '' 或 ``@host , '' 前者的缺省输出为 -l 风格, 后者的缺省输出为 -s 风格. -l 是***的向远地机器传递的选项.

如果标准输出是一个socket finger 会在每个换行符前插入回车符。这是为了处理由以下调用的远程finger请求 fingerd(8).  

参见

chfn(1), passwd(1), w(1), who(1) 

#p# 

NAME

finger - user information lookup program  

SYNOPSIS

finger [-lmsp ] [user ... ] [user@host ... ]  

DESCRIPTION

The finger displays information about the system users.

Options are:

-s
Finger displays the user's login name, real name, terminal name and write status (as a ``*'' after the terminal name if write permission is denied), idle time, login time, office location and office phone number.

Login time is displayed as month, day, hours and minutes, unless more than six months ago, in which case the year is displayed rather than the hours and minutes.

Unknown devices as well as nonexistent idle and login times are displayed as single asterisks.

-l
Produces a multi-line format displaying all of the information described for the -s option as well as the user's home directory, home phone number, login shell, mail status, and the contents of the files ``.plan '' ``.project '' ``.pgpkey '' and ``.forward '' from the user's home directory.

Phone numbers specified as eleven digits are printed as ``+N-NNN-NNN-NNNN''. Numbers specified as ten or seven digits are printed as the appropriate subset of that string. Numbers specified as five digits are printed as ``xN-NNNN''. Numbers specified as four digits are printed as ``xNNNN''.

If write permission is denied to the device, the phrase ``(messages off)'' is appended to the line containing the device name. One entry per user is displayed with the -l option; if a user is logged on multiple times, terminal information is repeated once per login.

Mail status is shown as ``No Mail.'' if there is no mail at all, ``Mail last read DDD MMM ## HH:MM YYYY (TZ)'' if the person has looked at their mailbox since new mail arriving, or ``New mail received ...'', `` Unread since ...'' if they have new mail.

-p
Prevents the -l option of finger from displaying the contents of the ``.plan '' ``.project '' and ``.pgpkey '' files.
-m
Prevent matching of user names. User is usually a login name; however, matching will also be done on the users' real names, unless the -m option is supplied. All name matching performed by finger is case insensitive.

If no options are specified, finger defaults to the -l style output if operands are provided, otherwise to the -s style. Note that some fields may be missing, in either format, if information is not available for them.

If no arguments are specified, finger will print an entry for each user currently logged into the system.

Finger may be used to look up users on a remote machine. The format is to specify a user as ``user@host '' or ``@host '' where the default output format for the former is the -l style, and the default output format for the latter is the -s style. The -l option is the only option that may be passed to a remote machine.

If standard output is a socket, finger will emit a carriage return (^M) before every linefeed (^J). This is for processing remote finger requests when invoked by fingerd(8).  

FILES

~/.nofinger
If finger finds this file in a user's home directory, it will, for finger requests originating outside the local host, firmly deny the existence of that user. For this to work, the finger program, as started by fingerd(8), must be able to see the .nofinger file. This generally means that the home directory containing the file must have the other-users-execute bit set (o+x). See chmod(1). If you use this feature for privacy, please test it with ``finger @localhost'' before relying on it, just in case.
~/.plan
~/.project
~/.pgpkey
These files are printed as part of a long-format request. The .project file is limited to one line; the .plan file may be arbitrarily long.

SEE ALSO

chfn(1), passwd(1), w(1), who(1)  

责任编辑:韩亚珊 来源: CMPP.net
相关推荐

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-11-01 13:46:50

中文mantac

2011-08-25 16:55:26

gets中文man

2011-08-25 15:49:02

freopen中文man

2011-08-25 16:00:56

fflush中文man

2011-08-25 16:08:55

fsetpos中文man

2011-08-25 15:33:18

exit中文man

2011-08-24 17:19:00

raw中文man

2011-08-25 10:55:37

services中文man

2011-08-25 09:35:26

units中文man

2011-08-24 13:57:35

DECLARE中文man

2011-08-11 15:28:43

ali中文man

2011-08-23 17:18:44

umount中文man

2011-08-23 17:24:11

userdel中文man

2011-08-23 17:33:22

rdev中文man

2011-08-23 18:05:21

ABORT中文man

2011-08-18 19:15:25

group中文man
点赞
收藏

51CTO技术栈公众号