title: bash command to grep something on stderr and save the result in a file
body: <p>I am running a program called stm. I want to save only those stderr messages that contain the text "ERROR" in a text file. I also want the messages on the console.</p>
  
  <p>How do I do that in bash?</p>