Tuesday, February 23, 2016

AWK to find out UID greate than 500


  • write script  who has UID bigger than 500
         awk -F: '{if ($3 >= 500) { print $1 ":" $3 } }' /etc/passwd