title: get the first word as result of ls -l
body: <p>I need to use <code>ls -l</code> and I would like to have as result just the first word of the file name for instance for a result like this</p>
  
  <pre><code>-rw-r--r--    1 root     root             9 Sep 21 23:11 best file 1.txt
  </code></pre>
  
  <p>I would like to have only</p>
  
  <pre><code>best
  </code></pre>
  
  <p>as result because I need to put this value into a variable. It is ok as well if there is another way instead of using <code>ls -l</code>.</p>
  
  <p>...sorry to bother you again...if the file is under a sub-directory, how can I hide the folder from the result? Thanks</p>