1. echo “Rajvijay” | awk ‘{print}’ 2. nl names.txt | awk ‘NR >= 6 && NR <= 10’ 3. awk 'NR % 5 == 0 {printf "%2d %s\n", NR, $0}' names.txt 4. awk -F : '$6 > 100000 {print $2,$6}' emp.lst 5. awk -F : 'BEGIN {count=0} NR <= 2 {count += $6} END {print "Total:" , count}' emp.lst