title: How to use "grep" command to list all the files executable by user in current directory?
body: <p>my command was this </p>
  
  <pre><code> ls -l|grep "\-[r,-][w,-]x*"|tr -s " " | cut -d" " -f9
  </code></pre>
  
  <p>but for the result I get all the files, not only the ones for which user has a right to execute ( the first x bit is set on).
  I'm running linux ubuntu</p>