Finger
Yum Install finger
2. Use
Finger is used to query the login account information on a host computer, usually displays the user name, home directory, stasis time, logon time, login shell and other information, using permissions for all users. If you want to query the user information on the remote computer, you need to follow the user name "@ hostname", the [username @ hostname] format, but to query the network host needs to run the finger daemon.
2. Format
finger [options] [users] [user @ host]
3. Main parameters
-S: Displays information such as user registration name, actual name, terminal name, write status, stall time, logon time, and so on.
-L: In addition to the information displayed with the-s option, it also 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.
-P: The same as the-l option except that the. plan file and the. project file are not displayed.
4. Application examples
[[email protected] root]# fingerlogin Name Tty Idle Login time Office office Phoneroot Root tty1 2 Dec 11root Root pts/0 1 Dec 11root root *pts/1 Dec 15 11 |
Finger user name, home directory, stall time, logon time