On Mon, 2003-01-27 at 10:16, Jianping Zhu wrote:
> Sorry for bad English.
> 
> I was trying to compress file foo and store it in file named   bar.gz ( I
> was
> not trying to compress a compressed file). the command "gzip foo" will
> give the file a name foo.gz defaultly. Is there a command by using which I
> can redirect the output compressed file to bar.gz ( not foo.gz)

gzip -c foo > bar.gz

Cheers,
-- 
Javier Gostling                        Av. Kennedy 5757, of. 1502
Ingeniero de Sistemas                  Las Condes, Santiago, Chile
Virtualia S.A.                         Fono: +56 (2) 202-6264 x 130
[EMAIL PROTECTED]                 Fax:  +56 (2) 342-8763



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to