-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 27 Jan 2003 08:16:27 -0500 (EST), 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) Thanks  

  gzip -c foo > bar.gz
or:
  gzip -cn foo > bar.gz
or:
  man gzip

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+NUQ40iMVcrivHFQRAkcBAJ0TZf9Lej0FRkaDpYm6oUqtHXu4oACeJrPQ
apo7A2sdThwjawhFFhEzi78=
=td6X
-----END PGP SIGNATURE-----



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

Reply via email to