脚本: 列出uid小于2的用户信息 #!/bin/bash #练习:列出uid小于2的用户信息 awk -F: '$3 >= 0 && $3 < 2 {print $1,$3}' /etc/passwd