Forrest logo
back to the finger tool

finger:tldr:e7efd

finger: Display information about currently logged in users.
$ finger
try on your machine

The finger command is a Unix/Linux command that enables users to retrieve information about other users on a system. When executed, the finger command provides details such as the username, login time, idle time, last message received, and more.

The basic syntax of the finger command is:

finger [options] [username@][hostname...]

Here are a few commonly used options:

  • -l: Displays a complete description of the user including their full name, office location, office phone number, and more.
  • -s: Shows a short description of the user, including their login time, idle time, and terminal line.
  • -p: Forces the display of a plan file, if it exists for the user.
  • -m: Displays the user's mailbox status, including the presence of unread mail.

By default, when run without any arguments, the finger command displays the login information of all users currently logged in to the system. However, you can also specify a specific username or a hostname to retrieve information about a particular user or a remote user on another system.

For example, if you run finger john, it will provide details about the user named "john" on the local system. If you run finger john@example.com, it will retrieve information about the user "john" on the remote system with the domain name "example.com".

Overall, the finger command allows for quick and easy access to basic user information on a Unix/Linux system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the finger tool