Re: [SLUG] redirecting tty to a file

From: Jason Copenhaver (jcopenha@typedef.org)
Date: Sun Jan 13 2002 - 18:27:30 EST


check out a utility called 'script' or 'scripts' can't remeber.. It
records everything.. screen output. and what you type in.. very nice for
what you are talking about =)

Jason

On Sun, 13 Jan 2002, Mario Lombardo wrote:

> 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:46:11 EDT