Does anyone know that this is a script file written with something... -- Linux general technology-Linux technology and application information? For details, refer to the following. Which of the following heroes can help me analyze and understand the technologies required by the Code, SHALL programming, and some of the code? For details, see the attachment.
Echo "2. List of user id with UID = 0 or OSRs"
Echo
For x in 'lsuser-a all'
Do
Echo "\ c"
Id $ x | awk '$1 ~ /^ Uid = 0 \ (/{print $1} '| grep-c "uid = 0" | read I
If [[$ I-eq 1]
Then
Echo "$ x \ c"
Else
### OSR Group
Id $ x | awk '{print $2 "" $3}' | egrep-c "\ (system \) | \ (security \) | \ (bin \) | \ (sys \) | \ (adm \) | \ (uucp \) | \ (mail \) | \ (printq \) | \ (cron \) | \ (audit \) | \ (shutdown \) | \ (ecs \) | \ (imnadm \) | \ (ipsec \) | \ (ldap \) | \ (lp \) | \ (haemrm \) | \ (snapp \) | \ (hacmp \) "| read I
If [[$ I-eq 1]
Then
Echo "$ x \ c"
Fi
Fi
Done
Echo