---
title: "Comment by Jagadish Thawri on \"Top 20 Essential Linux Commands Every DevOps Engineer Should Master\" | Hashnode"
description: "What is $ in awk?"
url: "https://hashnode.com/posts/top-20-essential-linux-commands-every-devops-engineer-should-master/670ec08e2ad0bc966d8b33af/comment/670f5612731e40f6bac302de"
---

[Discussion](https://hashnode.com/posts/top-20-essential-linux-commands-every-devops-engineer-should-master/670ec08e2ad0bc966d8b33af)

Comment [Top 20 Essential Linux Commands Every DevOps Engineer Should Master](https://hashnode.com/posts/top-20-essential-linux-commands-every-devops-engineer-should-master/670ec08e2ad0bc966d8b33af)

[Jagadish Thawri](https://hashnode.com/@Jagadish10)

[Oct 16, 2024](https://hashnode.com/posts/top-20-essential-linux-commands-every-devops-engineer-should-master/670ec08e2ad0bc966d8b33af/comment/670f5612731e40f6bac302de)

What is $ in awk?

[Chetan Mohanrao Mohod](https://hashnode.com/@chetanmohod)

[Oct 16, 2024](https://hashnode.com/posts/top-20-essential-linux-commands-every-devops-engineer-should-master/670ec08e2ad0bc966d8b33af/comment/670f5612731e40f6bac302de#reply-670f5724b3bb856b43e94a5f)

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.
