Is there any way to print the last printed lines on a linux terminal? I'm trying to run a command that does that on my node app so that i can parse that content. Is all the shell content logged in a file, or something like that?
I want to echo the console own content. Get the last outputs of the own terminal.
I dont want command outputs I want to get console.logs() and console.errs()