linux - In Bash, how do I display script output and then resume to the previous output (like less, or top, or watch) -


i don't want write c code this, want script behave 'watch': display output on clean console, , return original output displayed.

i'm not using watch because messes output , lack functions want add.

regular 'clear' fill console pages , pages of same output , want avoid that.

any suggestions?

terminal curses software such ncurses should work making 'q' quit less simple


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -