Linux command: Finger

Source: Internet
Author: User

Finger Command Introduction:

This command is used to view information such as the home directory, shell, etc. of the user account .  

1 . command format:

Finger [option] USERNAME

2 . Command function:

used to view the home directory of the user account, shell and other information ; Finger instructions will go to find,

and displays user-related information for the specified account, including both local and remote host users,

The account name does not have a case-sensitive difference. Executes the finger instruction separately, which displays the local

Host now all the user's login information, including account name, real name, log in end

End-of-machine, idle time, login time, and address and telephone.

3. Command parameters:

-l lists the user's account name, real name, user-specific directory, log in to the shell used,

Login time, forwarding address, e-mail status, and program file and program file contents.

-m exclude find the real name of the user.

-s lists the user's account name, real name, login terminal, idle time, login time, and address and phone number.

-p lists the user's account name, real name, user-specific directory, login shell, log in time,

The forwarding address, e-mail status, but does not display the user's plan file and schema file contents.

4. Command instance:

[Email protected] root]# Finger

Login Name Tty Idle Login Time Office Office Phone

Root root tty1 2 Dec 18 13

Root root pts/0 1 Dec 18 13

Root root *pts/1 Dec 18 13

5, Application Note: If you want to query the remote computer user information, you need to follow the user name "@ Host name",

The "username @ hostname" format is used, but the network host to be queried needs to run the support of the finger daemon.

This article is from the "Learn Linux history" blog, please be sure to keep this source http://woyaoxuelinux.blog.51cto.com/5663865/1861075

Linux command: Finger

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.