[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Capturing what comes accross the screen
- From: Steeve McCauley <steeve oneguycoding com>
- To: Redhat Install <redhat-install-list redhat com>
- Subject: Re: Capturing what comes accross the screen
- Date: Mon, 02 Jun 2003 09:11:53 -0400
On Mon, 2003-06-02 at 08:41, doug_dallmer wrote:
> 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").
Redirect the output to a file,
cpio -icdumv <archive_all > /tmp/cpio.out 2>&1
The "2>&1" redirects standard error to standard
output.
--
One Guy Coding http://oneguycoding.com
Montreal, Quebec steeve oneguycoding com
:wq
The mistake you make is in trying to figure it out. - Tenessee
Williams
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]