Introduction to the Finger Command in Linux
Using Finger Command in Linux
The Finger Command is a powerful and useful tool in Linux that helps users to look up information about other users on the system. It is a popular way to get the details of a user such as the username, their real name, and where they are logged in. This can be useful when troubleshooting logins or checking who is currently logged into a system.
Syntax
The syntax for using Finger Command in Linux is as follows:
finger [options] [user@host]
Options
- -l – Displays the long output format which includes the full name, login name, terminal, idle time, login time, office location, and office phone number.
- -s – Displays only the short output format which includes the login name and terminal name.
- -b – Displays any .plan or .project files that belong to the user.
Examples
Here are some examples of how you can use the Finger Command in Linux:
- finger – Displays the current user’s information.
- finger -l – Displays the long output format of the current user’s information.
- finger [email protected] – Displays the information of the user “john” on the system “example.com”.
Conclusion
The Finger Command is a very useful tool for looking up information about users on a Linux system. With the options provided, users can get the detailed information they need in order to troubleshoot logins or check who is currently logged into a system. Knowing how to use the Finger Command can be a valuable skill for any Linux system administrator.