title: How to remove/delete executable files (aka files without extension) only
body: <p>I have a directory src/ that contain many .cc files and its binary.
  For example:</p>
  
  <pre><code>src/
    |_ foo.cc
    |_ bar.cc
    |_ qux.cc
    |_ thehead.hh
    |_ foo  (executable/binary)
    |_ bar  (executable/binary)
    |_ qux  (executable/binary)
    |_ makefile
  </code></pre>
  
  <p>In reality there are many .cc and executable files.</p>
  
  <p>I need to remove those binaries in a global way without having to list
  all the files. Is there a fast and compact way to do it?</p>
  
  <p>I tried:</p>
  
  <pre><code>$ rm *
  </code></pre>
  
  <p>but it removes all the files include .cc and .hh files.</p>
  
  <p>I am aware of this command:</p>
  
  <pre><code>$ rm foo bar qux ....
  </code></pre>
  
  <p>but then we still have to list all the files one by one.</p>