title: GZip most recent file
body: <p>I know that the best way to find the most recent file is through an operation like:</p>
  
  <pre><code>ls -l -rt | tail -1
  </code></pre>
  
  <p>But I'm wanting to gzip this (most recent) file, because the program I'm writing will be putting a file in the current directory via a constructed command line argument in an outside interface. The user of the program shouldn't be aware of any background processes.</p>
  
  <p>Thanks!</p>