Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

From some time usually record long outputs with tee to later less them, this is awesome to review configure and make outputs and such, but fails when the script or program is installation like, asking for human input.

This Write a log file of a user interactive process using tee? is the more relevant related question search engines give, but dont want to solve it using screen as it is said there. Even though all of this is being done inside a tmux session, prefer to not rely on the insert your screen emulation solution here to solve this.

Unlike in that case, here dont mind the user input, but i think a program fails at some point and i can not look where. System is with no X suite, so can not scroll back to view the entire output with a konsole or alike.

Anybody got ideas?

share|improve this question
up vote 2 down vote accepted

Use "script" - typescript of terminal session.

$ script --help

From the man page of script :

 script makes a typescript of everything printed on your
 terminal.  It is useful for students who need a hard‐
 copy record of an interactive session as proof of an
 assignment, as the typescript file can be printed out
 later with lpr(1).
share|improve this answer
okay this is giving me much more information than needed but gets it done. – uprego Jun 14 '13 at 6:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .