thanks. Im just confused with Channel 2, is it the same as errorlevel?

Jörg Oertel wrote:

tolits schrieb:
>
> im new to this thing, what's "/dev/null 2 &1" for?
> > >
> > >$FWDIR/bin/fw logswitch > /dev/null 2>&1

Unix syntax.

>               = redirection
/dev/null       = null device. Means "send output to nowhere"
2>&1            = Output channel redirection. Channel 2 is the error messages
channel, 1 is standard output
                  Means: "Send error messages to where you send normal output"

In this context it means: run the program "fw" with function "logswitch"
and don't display normal and error messages.

Mit freundlichen Grüßen
Jörg Oertel

--
Joerg Oertel            Tel:02225/8820
MOSAIC SOFTWARE AG      Fax:02225/882201
Feldstraße 8            e-mail:[EMAIL PROTECTED]
53340 Meckenheim        www.mosaic-ag.com

===============================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
===============================================

-- 
Lito A. Lampitoc                
PLDT Foundation                         http://www.codewan.com.ph
--
"If you think you're good, you're not."
 


Reply via email to