Roles and formats of finger, who, w, and users commands

Source: Internet
Author: User

I. finger command

1. Role: Display User information in the system

2. Format: finger [option] user

Common options

-L multi-line display (login name, real name, email, Logon Time, and other information)

-S single row display (login name, real name, etc)

-M [user] Only displays information of one user

Ii. w command

1. Purpose: display all online users currently logged on to the platform and what they are doing

2. Format: w [option] [user]

Common options

-H skip header

-L long listing (default)

-S short listing

Iii. who instructions

1. function: displays all online users currently logged on to the host.

2. Format: who [option] [FILE | ARG1 ARG2]

Common options:

-A: displays all information.

-D print dead processes

-R print current run level

-B print the time of last system boot

-Q: displays the current online user name and counts the number of online users

-S only displays the user name, time, terminal used, and logon IP address.

-L display the system logon process (which tty is used)

Iv. user commands

Purpose: display all online users currently logged on to this host.

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.