Search posts, tags, users, and pages
Streamline Your Workflow with These Must-Know Commands
Chetan Mohanrao Mohod
@chetanmohod · Pune
Navigating the DevOps Journey: Automating, Optimizing, Innovating.
DevOps Engineer focused on automating workflows, optimizing infrastructure, and building scalable efficient solutions.
Markdown supported · ⌘↵ to post
Jagadish Thawri
What is $ in awk?
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.
Jagadish Thawri
What is $ in awk?