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
Reference Documentation Official Docker installat...
This article uses examples to describe how to use...
MySQL installation is divided into installation v...
MySQL needs to be upgraded to version 5.5.3 or ab...
Preface: This article mainly introduces the query...
Here we only introduce the relatively simple inst...
SVG (Scalable Vector Graphics) is an image format...
Docker usage of gitlab gitlab docker Startup Comm...
Triggers can cause other SQL code to run before o...
The reason for writing this article is that I wan...
Refer to the official documentation here for oper...
In the forum, netizens often ask, can I read the ...
This article mainly discusses the differences bet...
Introduction to the usage of MySQL keyword Distin...
Stored Procedures 1. Create a stored procedure an...