On 08:16 27 Jan 2003, Jianping Zhu <[EMAIL PROTECTED]> 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)

Well:

        gzip <foo >bar.gz
    or  gzip foo && mv foo.gz bar.gz

would do.
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

Death before dishonor / Drugs before lunch      - Aspen Gun and Drug Club



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

Reply via email to