finger
user managementLinux/Unix
The finger command is one of the most frequently used commands in Linux/Unix-like operating systems. finger Display information about system users
Quick Reference
Command Name:
finger
Category:
user management
Platform:
Linux/Unix
Basic Usage:
finger [options] [arguments]
Common Use Cases
Syntax
finger [options] [user[@host]]
Options
Option | Description |
---|---|
-s |
Display the user's login name, real name, terminal name, idle time, login time, and host |
-l |
Produce a multi-line format displaying all the information described for the -s option as well as the user's home directory, home phone number, login shell, mail status, and plan file |
-p |
Prevent the -l option from displaying the contents of the .plan file |
-m |
Match username only by exact match, not by substring |
-b |
Brief mode, suppressing home directory and shell information in a long format |
-f |
Suppress the header that is normally printed in a non-long format |
-w |
Show the full name without truncating at the first comma |
-i |
Show idle time as minutes instead of hours:minutes |
Examples
How to Use These Examples
The examples below show common ways to use the finger
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.
# Basic Examples Basic
finger