NETWORK PRESENCE ABOUT SERVICES PRODUCTS TRAINING CONTACT US SEARCH SUPPORT
 


Search
display results
words begin  exact words  any words part 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FW-1] Too large log file



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."
 


 
----------------------------------

ABOUT SERVICES PRODUCTS TRAINING CONTACT US SEARCH SUPPORT SITE MAP LEGAL
   All contents © 2004 Network Presence, LLC. All rights reserved.