title: Remove ^H and ^M characters from a file using Linux shell scripting
body: <p>How do I remove ^H and ^M characters from a file using Linux shell scripting?</p>
  
  <pre><code>^[[0^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H   rcv-packets: 0
  ^[[0^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H      rcv-errs: 0
       rcv-drop: 0
       rcv-fifo: 0
       rcv-frame: 0
  </code></pre>