title: find folders with executable files
body: <p>I wrote a script to find all folders that contain executable files. I was first seeking a oneliner command but could find one. (I especially tried to use sort -k -u).</p>
  
  <p>. The script works fine but my initial question remains: Is there a oneliner command to do that?</p>
  
  <pre><code>#! /bin/bash
  find $1 -type d | while read Path
  do
  X=$(ls -l "$Path" | grep '^-rwx' | wc -l)
  if ((X&gt;0))
  then
      echo $Path
  fi
  done
  </code></pre>