[LUNI] Capturing what comes accross the screen
Jay Strauss
me at heyjay.com
Tue Jun 3 09:37:08 CDT 2003
use tee, that way you can direct the output to a file as well as see it on
the screen
----- Original Message -----
From: "doug_dallmer" <doug_dallmer at netzero.net>
To: <luni at luni.org>
Sent: Tuesday, June 03, 2003 8:54 AM
Subject: [LUNI] Capturing what comes accross the screen
>
> I have set up RedHat 8.0, operate at init level 3 as root and now need
> to restore from a cpio archive file.
>
> The " cpio -icdumv <archive_all " seems to work fine. However, every
once
> in a while I see the message about skipping 4096 bytes of bad data
> interspersed with the list of path/file_names being created.
>
> I need a way of capturing what is streaming across the screen during the
> cpio command so that I can identify the files that may be corrupted. I
> have other cpio'd files of various parts of the complete restore so I can
> probably extract good copies of the corrupted files from these (I hope).
>
> I have tried " cpio -icdumv <archive_all tee list " " cpio -icdumv
> <archive_all | list " with no success. Any suggestions??
>
> In general I would also like to capture what goes across the screen and in
> from the keyboard so that I could go back and review how I got to some
place
> (usually in trouble in "river city").
>
> Doug Dallmer
>
> ______________________________________________________________________
> Linux Users Of Northern Illinois - Technical Discussion
> luni at luni.org
> http://luni.org/mailman/listinfo/luni
>
>
More information about the luni
mailing list