。 The general format for this command is:
finger [options] [consumer] [user @ host]
The commonly used parameters of finger are as follows:
-S Displays the user's registration name, actual name, terminal name, write status, stagnation time, logon time, and other information.
-L displays information such as the user's home directory, login shell, message status, and the contents of the. Plan, project, and. Forward files in the user's home directory, in addition to the information displayed with the-s option.
-P is the same as the-l option except that it does not show the. plan file and the. project file
Example:
1 Display the user orcale information
The code is as follows |
Copy Code |
Finger Oracle |
The display results are
code is as follows |
copy code |
Login: Oracle Name: (NULL) Directory:/home/oracle Shell:/bin/bash On since Fri Feb 6 16:26 (CST) on PTS/1 from 10 153.21.166 seconds idle On since Wed Feb 4 20:10 (CST) in PTS/2 from 10.153.21.166 1 second idle No Mail . No plan. |