title: In bash loop script, how to refresh output in same line? (take the position of the last output)
body: <p>For example,
  I have output every second like</p>
  
  <pre><code>user@pc:
  A
  B
  C
  D
  E
  </code></pre>
  
  <p>I want the output refresh from A to E in the same line(no new lines being created)</p>
  
  <p>Thanks!</p>