摘要: 1、统计用户登录类型 #!/bin/bash declare -A shells (定义关联数组shells) while read ll (读取/etc/passwd,ll为变量) do type=`echo $ll | awk -F: '{print $7}'` (type为变量,切割ll后的变 阅读全文
posted @ 2019-08-14 14:07 凡人半睁眼 阅读(439) 评论(0) 推荐(0) 编辑