Capturing build output

Ken Dyke ken_i_m at elegantinnovations.net
Mon Oct 21 07:26:34 PDT 2002


On Sun, 2002-10-20 at 18:06, WhyteWolf wrote:
> ... how do you
> > capture the screen output from the install processes. I  tried piping
> > it to a file, but some information is missing.
> >
> <command> &> <output file>

This simple redirect does not capture all output.

<command> 3>&1 1>&2 2>&3 <output.file>

or to see what is going on

<command> 3>&1 1>&2 2>&3 | tee <output.file>

This will give normal screen output while feeding everything into the
output.file.

-- 
I think, therefore, ken_i_m
Chief Gadgeteer,
Elegant Innovations
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20021021/f961ec30/attachment.sig>


More information about the lfs-support mailing list