In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.