I'm trying to create awk script that can provide a structured listing of account information for all UIDs greater than 1000. This is what I tried: This is the expected output
BEGIN { FS=":"}
$3>1000 && $3<2000 {print $1 " uid: " $3 " Full name: " $5 " Home dir "$6 " Shel :"$7}BEGIN { FS=":"}