[root@rusky opt]# man who WHO(1) User Commands WHO(1) NAME who - show who is logged on SYNOPSIS who [OPTION]... [ FILE | ARG1 ARG2 ] DESCRIPTION Print information about users who are currently logged in. -a, --all same as -b -d --login -p -r -t -T -u -b, --boot ...
检查2 - 谁曾经登录过? Linux服务器会记录下哪些用户,从哪个 IP,在什么时候登录的以及登录了多长时间这些信息。使用last命令可以查看这些信息。 输出类似这样: root pts/1 78.31.109.1 Thu Nov 30 08:26 still logged in root pts/0 113.174.161.1 Thu Nov 30 08:26 still logged in root pts/1 78.31.109...
18.whatis – What is this command whatis 会用单行来描述给定的命令。 19.man – Manual man 会为给定的命令显示一个手册页面。 20.exit exit用于结束当前的终端会话。 21.ping ping 通过发送数据包ping远程主机(服务器),常用与检测网络连接和服务器状态。 22.who – Who Is logged in who能列出当前登录的...
whatis 会用单行来描述给定的命令。 19.man – Manual man 会为给定的命令显示一个手册页面。 20.exit exit用于结束当前的终端会话。 21.ping ping 通过发送数据包ping远程主机(服务器),常用与检测网络连接和服务器状态。 22.who – Who Is logged in who能列出当前登录的用户名。 23.su – Switch User su...
WHO(1) User Commands WHO(1) NAMEwho- showwhois logged on SYNOPSISwho[OPTION]... [ FILE |ARG1 ARG2 ] DESCRIPTION Print information about userswhoare currently loggedin.-a, --all same as-b -d --login-p -r -t -T -u-b, --boottimeoflastsystem boot-d, --dead ...
22.who – Who Is logged in who能列出当前登录的用户名。 23.su – Switch User su <username>用于切换不同的用户。即使没有使用密码,超级用户也能切换到其它用户。 24.uname uname会显示出关于系统的重要信息,如内核名称、主机名、内核版本、处理机类型等等,使用uname -a可以查看所有信息。
21.who — Who Is logged in who 能列出当前登录的用户名。 当前用户列表 22.su — Switch User su 用于切换不同的用户。即使没有使用密码,超级用户也能切换到其它用户。 切换当前用户 23.uname uname会显示出关于系统的重要信息,如内核名称、主机名、内核版本、处理机类型等等,使用uname -a可以查看所有信息。
Show who is logged-on and what they’re doing. wait Waits for a specified process ID(s) to terminate and returns the termination status. wall Display a message on the terminals all the users who are currently logged-in. warnquota Send mail to the users who’ve exceeded their disk quota...
2. Check who is logged in with who command Who commandis another simple one. Just type who and it will show who is logged on to your Linux system currently. who You can also see the login time and the IP address of the logged on user. ...
root@iZ2ze459u86is1pi87eprdZ:/var/log# who --help Usage:who [OPTION]... [ FILE | ARG1 ARG2 ] Print information about users who are currently logged in. -a, --all same as -b -d --login -p -r -t -T -u -b, --boot time of last system boot ...