title: Accessing the latest label in perforce through Linux
body: <p>I get a list of labels when I type in the following command in Linux:</p>
  
  <pre><code>p4 labels -e '&lt; pattern-for-required-label &gt;'
  </code></pre>
  
  <p>But I want to grab only the latest label in the list. If there any command in perforce through which I can select the latest label from the long list?</p>