title: awk: print columns based on values of another column
body: <p>I have a file with six columns, and I only want to print the first two columns of the lines that have a value >3 in the sixth column.</p>
  
  <p>This statement prints all lines where the sixth column > 3</p>
  
  <pre><code>awk '$6 &gt; 3' file &gt; out
  </code></pre>
  
  <p>This statement prints the first two columns:</p>
  
  <pre><code>awk '{print $1,$2}' file &gt; out 
  </code></pre>
  
  <p>Anyone knows how to combine these two commands into a one-liner? </p>