In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the Linux system who command how to use, the article is very detailed, has a certain reference value, interested friends must read it!
The main function of the who command in the Linux system is to display the user information of the current login system, including login name, tty, login date and time.
Syntax who-[husfV] [user] Parameter description:-H or-heading: displays the header information column of each field
-I or-u or-idle: displays the idle time, and will be marked "." if the user takes any action within the previous minute. If the user has not taken any action for more than 24 hours, the string "old" is marked.
-m: this parameter has the same effect as the specified "am I" string
-Q or-count: only the account name and total number of people logged in to the system are displayed.
-s: this parameter will be ignored and will not be processed, and will only solve the compatibility problem of other versions of the who directive.
-w or-T or-mesg or-message or-writable: displays the user's information status bar
-help: online help
-version: displays version information.
Case demonstration: linuxidc@linuxidc:~$ ``who
Version view
Displays the user name, line, and time of all current login sessions. For example:
Who``am I displays the same information, but only for terminal sessions that issue commands, for example:
Linuxmi pts`` / 3`` 08:52 displays "all" information and the title above each column of data, for example:
Linuxidc@linuxidc:~$ ``who``-aH`` name Line time idle process number Note exit ``system boot 2018-12-02 07: 45`` run level 5 2018-12-02 07: 46`` linuxidc?: 0 2018-12-02 07:47? 4569 (: 0)
The above is all the contents of this article entitled "how to use who commands in Linux system". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.