Operating SystemsUNIXAWK Cheat SheetOn this pageAWK Cheat Sheet Add line numbers at start of each line awk -v count=0 '{print ++count " " $0}' input.txt Print conditional ($2 is an integer) awk '{if ($2 > 30) print $0}' input.txt