Mailing List Archive


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

Re: [tlug] Apache: Logging: how-to pipe logs or log toanothermachine (was Disk



>From: Viktor Pavlenko <vvp@example.com>
>
>  From `man gzip`:
>
> >if a file name is "-", the standard input is compressed to the
> >standard output.

I just tested it out. Gzip will accept input from  STDIN but won't actually 
create a file until EOF is sent.

I did "gzip -cd > t.gz", that create a file called t.gz with 0 bytes, let me 
type input on the console.

Nothing was written to the file until I hit Ctrl-D ...

Jc

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links