Save all command and all output (using script across terminals) https://unix.stackexchange.com/questions/685165/how-to-clear-the-terminal-in-script-while-restoring-entered-commands-after-scrip
These are links I visited but didn't made me sutisfied. I want to copy ALL of the terminal's content and clear the screen. after doing my thing I want the old content be written back to the shell.
tput
? ... If yes, then would you explain why it did not satisfy your requirements? – Raffa Jul 24 '22 at 05:05