Printing script error messages to file?

Frank Schafer frank.schafer at setuza.cz
Sun Oct 7 22:18:58 PDT 2001


Debian User wrote:

> I am having an error with checkfs.  I would like to post the error to
> this mailing list, but how does one print script errors to a file?
>
> --
> Unsubscribe: send email to listar at linuxfromscratch.org
> and put 'unsubscribe lfs-support' in the subject header of the message

Dhis can be done using simple UNIX redirection, for instance

/some/dir/on/your/FS/some-script.sh 1>logfile 2>&1

Frank

-------------- next part --------------
A non-text attachment was scrubbed...
Name: frank.schafer.vcf
Type: text/x-vcard
Size: 218 bytes
Desc: Card for Frank Schafer
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20011008/40566d38/attachment.vcf>


More information about the lfs-support mailing list