Search this Website

 

Ubuntu

UNIX

gunzip question

Category: UNIX-Unix Beginner

gunzip question

unzip test.zip ==> this uncompresses and keeps the original zip file.

gunzip test.gz ==> removes the .gz file after uncompressing.
is there any switch to make the .gz file available after uncompression.


what about this tweak..?

code:
gunzip -c file.gz >file[img]http://www.unix.com/images/buttons



i have multiple files in the gz file... i guess this may work foronly if the gz has single file.

thanks for the reply.



jacoden, thanks i can use this. i checked... i think multiple files are not there.