title: How to only find files in a given directory, and ignore subdirectories using bash
body: <p>I'm running the <code>find</code> command to find certain files, but some files in sub-directories have the same name which I want to ignore.</p>
  <p>I'm interested in files/patterns like this:</p>
  <pre><code>/dev/abc-scanner, /dev/abc-cash ....
  </code></pre>
  <p>The command:</p>
  <pre><code>find /dev/ -name 'abc-*'
  </code></pre>
  <p>What's being returned:</p>
  <pre><code>/dev/abc-scanner
  /dev/abc-cash
  ...
  ...
  ...
  /dev/.udev/names/abc-scanner
  /dev/.udev/names/abc-cash
  </code></pre>
  <p>I want to ignore the latter files: <code>/dev/.udev/...</code></p>