Hugo,

Thanks for your help. It worked. I've tried it again and this time it
was indeed redirected to the specified file. 

David 


-----Original Message-----
From: Mailing list for discussion of Firewall-1
[mailto:[EMAIL PROTECTED] On Behalf Of Hugo
van der Kooij
Sent: vrijdag 5 januari 2007 7:41
To: [email protected]
Subject: Re: [FW-1] Fwm load output

On Fri, 5 Jan 2007, David CALLEBAUT [AEMS Be] wrote:

> Is there a way to capture the output of the "fwm load" command into a 
> file?
> I've tried putting the standard "> output.txt" suffix but that didn't 
> work.
> And to my knowledge there any no arguments of the command that can be 
> used to redirect the output to a file.

On unix I would capture both stdout and stderr:

fwm load > fwmload.txt 2>&1

It would direct stderr (the error output) through stdout (The standard
output).

Hugo.

-- 
        [EMAIL PROTECTED]       http://hvdkooij.xs4all.nl/
            This message is using 100% recycled electrons.

A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting frowned upon?

=================================================
To set vacation, Out-Of-Office, or away messages, send an email to
[EMAIL PROTECTED]
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your subscription options,
email [EMAIL PROTECTED]
=================================================

=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to [EMAIL PROTECTED]
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
[EMAIL PROTECTED]
=================================================

Reply via email to