Tag: awk examples

AWK tutorial: awk sort uniq

In daily development, we often use awk command to cut and sort log file columns and count them. awk sort uniq count example awk column...

awk system batch operation

1. use awk command batch creation of files awk 'BEGIN {do {++i; system("touch file_num_" i "_test") } while (i<9) }' .........