data.csv is the input file
eid,ename,esal
101,Raju,8000
106,Sanjay,5000
109,Anjali,4000
awk '$esal > 5000 { print $esal }' data.csv
the above is the command which i have tried. the output is:
eid,ename,esal
567,pinky,4000
Expected output is:
eid,ename,esal
101,Raju,8000