Search posts, tags, users, and pages
Jagadish Thawri
What is $ in awk?
Chetan Mohanrao Mohod
The $ symbol refers to fields/columns in each input file line. So $1 represents the first column, similarly $2 represents the second column.
So the awk command will print the file's 1,2 and 3rd columns.