title: Using ls, how to list files without printing the extension (the part after the dot)?
body: <p>Suppose I have a directory with some files: </p>
  
  <pre><code>$ ls
  a.c  b.c  e.c  k.cpp  s.java
  </code></pre>
  
  <p>How can I display the result without the file extension(the part following the dot, including that dot)? Like this:</p>
  
  <pre><code>$ &lt;some command&gt;
  a
  b
  e
  k
  s
  </code></pre>