Finger Command Introduction:
This command is used to view information such as the home directory, shell, etc. of the user account .
1 . command format:
Finger [option] USERNAME
2 . Command function:
used to view the home directory of the user account, shell and other information ; Finger instructions will go to find,
and displays user-related information for the specified account, including both local and remote host users,
The account name does not have a case-sensitive difference. Executes the finger instruction separately, which displays the local
Host now all the user's login information, including account name, real name, log in end
End-of-machine, idle time, login time, and address and telephone.
3. Command parameters:
-l lists the user's account name, real name, user-specific directory, log in to the shell used,
Login time, forwarding address, e-mail status, and program file and program file contents.
-m exclude find the real name of the user.
-s lists the user's account name, real name, login terminal, idle time, login time, and address and phone number.
-p lists the user's account name, real name, user-specific directory, login shell, log in time,
The forwarding address, e-mail status, but does not display the user's plan file and schema file contents.
4. Command instance:
[Email protected] root]# Finger
Login Name Tty Idle Login Time Office Office Phone
Root root tty1 2 Dec 18 13
Root root pts/0 1 Dec 18 13
Root root *pts/1 Dec 18 13
5, Application Note: If you want to query the remote computer user information, you need to follow the user name "@ Host name",
The "username @ hostname" format is used, but the network host to be queried needs to run the support of the finger daemon.
This article is from the "Learn Linux history" blog, please be sure to keep this source http://woyaoxuelinux.blog.51cto.com/5663865/1861075
Linux command: Finger