Finger
1. Role
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.
Linux allows multiple users to log in at the same time using different terminals, and the Linux Finger command provides the system administrator with a way to know how many users are using this Linux host at some point.
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
To use finger on your computer:
<ccid_nobr>
<ccid_code>[[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 |
5. Application Notes
If you want to query the remote computer user information, you need to follow the user name "@ hostname", the [username @ hostname] format, but to query the network host needs to install run finger daemon.
Summary: The almighty Word is finger-l, if the remote words finger-l [email protected]
finger-Query Host login information