Filtering rows in a text file using awk
<p>I have tab delimited text file (like this):</p>

<pre><code>A  1 A1g DELL
A  1 B1s HP
A  7 Zfd Nog
A  5 Jgf KIT
A  1 Def JOP
</code></pre>

<p>Apart from the first row, I would like to keep only the rows where the second column's value is larger than 1.</p>

<pre><code>A  1 A1g DELL
A  7 Zfd Nog
A  5 Jgf KIT
</code></pre>

<p>I tried <code>awk '{if($2&gt;1) print }' file.txt</code> but it omits the first row. How can I skip the first row and check the condition <code>($2 &gt;1)</code> for other rows? </p>

<p>Thanks in advance.</p>