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
1. MySQL 1.1 MySQL installation mysql-5.5.27-winx...
Build the image Earlier we used various images fo...
<br />Original link: http://www.dudo.org/art...
MySQL and connection related timeouts Preface: To...
When learning mybatis, I encountered an error, th...
Table of contents 1. Download the installation pa...
Table of contents Question: Case (1) fork before ...
Preface: Jenkins' Master-Slave distributed ar...
Table of contents 1. Introduction 2. Interface 3....
Basic Concepts Before operation, you must first u...
1. Install vsftpd component Installation command:...
I am very happy to attend this episode of potato ...
1. Overview I searched a lot online and found tha...
This article describes how to compile and install...
Dockerfile is a text file that contains instructi...