title: how to compare output of two ls in linux
body: <p>So here is the task which I can't solve. I have a directory with .h files and a directory with .i files, which have the same names as the .h files. I want just by typing a command to have all .h files which are not found as .i files. It's not a hard problem, I can do it in some programming language, but I'm just curious how it will look like in cmd :). To be more specific here is the algo:</p>
  
  <ul>
  <li>get file names without extensions from ls *.h</li>
  <li>get file names without extensions from ls *.i</li>
  <li>compare them</li>
  <li>print all names from 1 that are not met in 2</li>
  </ul>
  
  <p>Good luck!</p>