Use a while loop to continuously plot random values

ttyplot

  • A realtime plotting utility for the command line with data input from stdin.
    More information: <https://github.com/tenox7/ttyplot>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

{ while {{true}}; do echo {{$RANDOM}}; sleep {{1}}; done } | ttyplot

click the source code to copy