显示环境登录的记录

常见命令操作

last

Linux last命令详解

 

登录用户统计

last| awk '{S[$3]++}{for(a in S) print S[a],a}' |sort|uniq|sort -h

Linux last命令详解

 

相关文章: