Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Don't the previous lines appear as soon as you exit watch? Commented Oct 6, 2020 at 13:40
  • watch uses ncurses-type terminal codes to rewrite the outputs. The output characters are disjoint, TERM-dependent, not arranged in lines, and not stored anywhere. Commented Oct 6, 2020 at 14:31
  • watch also breaks your terminal settings occasionally, requiring a reset. Commented Oct 6, 2020 at 14:34