awk '{print}' text.txt
## print lines in text.txt file that matches the pattern
awk '/pattern/ {print}' text.txt
## print ith and jth column in text.txt file
awk '{print $1,$4}' text.txt
## print line number
awk '{print NR}' text.txt
## print last column
awk '{print $NF}' text.txt
## print line 2 to line 5
awk 'NR==2, NR==5 {print}' text.txt
## change the default delimiter
awk -F ',' '{print $NF}' text.txt
## similar to the above line using split function
awk '{split($0, data, ","); print NR "-" data[5]}' text.txt