finger
Get user information with the Finger command. Display login name, real name, terminal name, write status, idle time, and more. Free online tool for developers.
Finger Command
Understanding the Finger Command
The finger
command is a utility used in Unix-like
operating systems to retrieve information about users on a system.
It provides details such as the user's login name, real name,
terminal name, write status (whether they can receive messages),
idle time, and the time and date of their login. This tool is
invaluable for system administrators and users who need to quickly
gather information about other users currently logged into the
system or their general status.
Common Finger Command Usage Examples
Here are some practical examples of how to use the
finger
command:
Detailed User Information
To get comprehensive information about a specific user, including
their home directory, login shell, mail status, and the contents of
specific files like .plan
, .project
,
.pgpkey
, and .forward
, you can use the
-s
option:
# Produces a multi-line format displaying all of the information described for
# the -s option as well as the user's home directory, home phone number, login
# shell, mail status, and the contents of the files “.plan”, “.project”,
# “.pgpkey” and “.forward” from the user's home directory.
finger -s username
Fetching Remote Information
The finger
command can also be used to query
information from remote systems, provided the finger daemon is
running on the target server. A common use case is checking weather
reports from specific servers:
# weather report in console (for Nuremberg in this case)
finger nuremberg@graph.no
Benefits of Using Finger
The finger
command offers several benefits:
- Quick User Status: Easily see who is logged in and their activity status.
- System Insight: Gain insights into user configurations and activities.
- Remote Queries: Retrieve information from other systems on the network.