The who
command is used to print the information of the currently logged in user, including the system startup time, active process, user ID
, terminal used and other information. It is a common command for system administrators to understand the running status of the system.
Syntax format: who [parameter] [options]
Common parameters:
Example
# 显示用户登录信息who
# 显示系统最近启动时间who -b
This article is reprinted from https://xugaoxiang.com/2022/06/23/linux-cmds-71-who/
This site is for inclusion only, and the copyright belongs to the original author.