finger - user information lookup program

Overview

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

description

At The finger displays information about the user's system

parameter:

 

-s
Finger displays the user's login name, real name, terminal name and write status (if writing is disabled, displays a `` * '' after the terminal name), idle time, login time, office location and telephone.

Login time is displayed as month, day, hour and minute, if it is more than six months ago, the year is displayed rather than the hours and minutes.

Unknown devices as well as idle time and there is no login time is displayed as an asterisk.

 

-l
To produce a multi-line display descriptive information - S on the user's home directory, home phone content, logon scripts, status messages and files `` .plan '' and `` .project '' and `` .forward '' from the user's home directory.

11-digit phone number appears as `` + NNNN-NNN-NNNN ''. Ten or seven digits can be displayed as a subset of it. As a five-digit phone number `` xN-NNNN ''. Four-digit phone number appears as `` xNNNN ''.

If the device is write prohibited, the phrase `` (messages off) '' is appended with a line behind this device has an entry for each user, with -. L option; if a user login times, each time by the terminal information Log repeat display. .

If any messages are no mail information is displayed as `` No Mail '', if and when new messages come after the mailbox has been viewed as a `` Mail last read DDD MMM ## HH: MM YYYY (TZ) '.' If there are new messages, for the `` new mail received ... '', `` Unread since ... ''

 

-p
Prevent finger - L option displays the `` .plan ''
 content and `` .project '' file.
-m
To prevent the user to match the name. The User is usually a login name; however, the real name of the user will also be matched, unless - m . All the options by the finger names were matching is case sensitive

 

Do not specify a finger option, if provided, then the operator, is set to default - L output style, otherwise - S . Note that in both style format, if the information is insufficient, there are some fields may be missing,

If no argument finger will print an entry for each user currently logged on.

Finger can be used to view the user information format on the remote machine is a designated user to `` user @ Host '' or `` , @host '' default output was the former - L style, which is the default output - S style -. L is the only option passed to a remote machine.

If the output is a standard Socket finger is inserted before each carriage return linefeed. This is for the following processing request from the remote call finger fingerd (8). 

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11082335.html