Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The usage of the Linux basic command finger

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the relevant knowledge of "the usage of the Linux basic command finger". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Finger

The finger instruction is used to find and display information about a specified user. To query remote host information, you can use user@localhost to specify a user.

The scope of this command: RedHat, RHEL, Ubuntu, CentOS, SUSE, openSUSE, Fedora.

1. Grammar

Finger [- lmsp] user

2. List of options

Option

Description

S

Displays the user's user name, real name, login terminal, idle time, login time, address, phone number

-l

Display the user's user name, real name, user's home directory, shell after login, login time, email, schedule file

-p

Same as-l, but does not display ".plan", ".project", ".pgpkey" files

-m

Do not find the user's real name

3. Examples

View user root information

[root@localhost david] # finger-l root

Login: root Name: root

Directory: / root Shell: / bin/bash

On since 7 September 7 21:02 (CST) on tty1 from: 0

14 days 20 hours idle

On since Saturday September 22 07:36 (CST) on pts/0 from: 0.0

9 hours 5 minutes idle

On since 13 September 13 08:55 (CST) on pts/1 from: 0.0

New mail received 22 September 22 18:00 2018 (CST)

Unread since 21 August 09:22 2018 (CST)

No Plan.

This is the end of the introduction to "the usage of the Linux basic command finger". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report