contd. sample files used for this tutorial. 1. Filteration of Row data awk ‘$3 == $4 {print $1 “ “ $3}’ abc.txt awk -F “,” ‘$3 == $4 {print $1 “ “ $3}’ abc.csv Here before printing the required rows we can filter it out using Some conditions. 2. Filteration of Row data with logical OR awk -F "," '$3 == 10000 || $4 == 10000 {print $1 " " $2}' abc2.csv 3. Filteration of Row data with logical AND awk -F "," '$3 == 10000 && $4 == 10000 {print $1 " " $2}' abc2.csv
An {U/Li}nux Blog.