Is it possible to save output from a command to a file subsequent the command already has been executed?

Posted by NES on Ask Ubuntu See other posts from Ask Ubuntu or by NES
Published on 2011-01-09T13:42:33Z Indexed on 2011/01/09 13:58 UTC
Read the original article Hit count: 208

Filed under:
|
|

Does an elegant way exists to save the output of a command subsequent to a file as long as the terminal window is open?

I mean once the command has been executed in the terminal. The output is still there in terminal. Now i could copy & paste all the lines and save it to a file. But perhaps does a method exist to somehow write the output buffer of a terminal window to a file or even better the output of an already executed command?

© Ask Ubuntu or respective owner

Related posts about terminal

Related posts about file