About who Displays users logged into the system. Executing the who command will tell you which users are currently logged into the system. Executing the who command alone will list the login account, the terminal used, the login time, and where they logged in from or which X display they are using. describe The who command prints information about all users who are currently logged in. who syntax
Options
notes If a file is specified, who collects its information from that file. Otherwise, it reads from the default file location (usually /var/run/utmp). If the argument "ami" is specified, who assumes the -m option. who Example linuxidc@linuxidc:~$ who Version View Displays the username, line, and time of all current login sessions. For example: who am i Displays the same information, but only for the terminal session in which the command was issued, for example: linuxmi pts/3 2018-12-02 08:52 (:0.0) Displays "all" information along with a heading above each column of data, for example: linuxidc@linuxidc:~$ who -aH Name Line Time Idle Process Number Remarks 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) Summarize The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. If you have any questions, you can leave a message to communicate. Thank you for your support for 123WORDPRESS.COM. You may also be interested in:
|
<<: Installation tutorial of MySQL 5.7 green version under windows2008 64-bit system
>>: js to implement the snake game with comments
Recently, I encountered a database with the follo...
Write at the beginning This article only covers E...
Table of contents Nginx proxies two socket.io ser...
1. Clustered Index Table data is stored in the or...
Effect: <div class="imgs"> <!-...
Running Docker requires root privileges. To solve...
I believe everyone is very sensitive to colors. C...
Teaching Topics Web page Applicable grade Second ...
Solve the problem of eight hours time difference ...
1. What is the use of slow query? It can record a...
Table of contents Overview How to make full use o...
Table of contents forEach() Method How to jump ou...
Utilize the browser's non- overflow:auto elem...
Recorded the installation and use tutorial of MyS...
Today I was asked what the zoom attribute in CSS ...