Function Description: search for and display user information.
Syntax: finger [-lmsp] [account name...]
In Linux, the finger command is used to query the login account information on a host. The user name, main directory, stagnation time, Logon Time, logon shell, and other information are usually displayed. The permission is set to all users.
Finger [Option] [user] [user @ host]
Main Parameters
-S: displays the User Registration Name, actual name, terminal name, write status, stagnation time, Logon Time, and other information.
-L: In addition to the information displayed with the-s option, it also displays information such as the user's home directory, logon shell, email status, and under the user's home directory. plan ,. project and. the content of the forward file.
-P: Except for not displaying the. Plan and. project files, it is the same as the-L option.
Application description
To query user information on a remote machine, you must add "@ host name" after the user name, in the format of [user name @ host name, however, the network host to be queried must support running the finger daemon.
Original
[1]Http://wenku.baidu.com/view/d8fa0507de80d4d8d15a4faa.html