[SLUG] redirecting tty to a file

From: Mario Lombardo (mario@alienscience.com)
Date: Sun Jan 13 2002 - 17:09:33 EST


I thought redirecting tty output to a file could be done with a redirector ">"

I'm having trouble with this in Debian:

dpkg -i gcc-BLAH-BLAH.deb > /home/someuser/install.txt

I don't get the entire output in the file. On the screen, I should
be seeing prompt after prompt. Instead I'm seeing reporting on the
screen, and I'm also not seeing much in the text file (two measly
lines). I want to get this stuff verbatim in case it's a bug with
Debian Sparc Potato > Woody upgrades.

How do I correctly dump everything from this command into a text file
instead of the screen? Also, is there a way to have the system
automatically log what goes to and from a tty to a text file? This
would be for future journalizing purposes (duh, what did I do?).

Mario



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:45:51 EDT