How you will uncompress the file?

Answer Posted / virendra

1 > if it is compressed (.Z)

#uncompress file.Z

2 > if it is ziped (.zip )
#unzip file.zip

3 > if it is gziped (.gzip)
#gunzip file.gz

4> if it is bzip2 (.bz2)
#bunzip file.bz2


#tar based compression

#creation of gziped tar
#tar zcvf file.tar.gz /home
#extracing of this file

#tar zxvf file.tar.gz


for bzip z will be replaced by j

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I clear bash history in linux?

540


Explain the free command.

587


Who command in linux?

526


How do I do a whois search?

565


Brief about the command nn?

613






What is the purpose output of cd command?

581


What is command to check ports running/used over local machine

650


How do I create a .txt file?

547


What is bash linux?

524


Is cmake a compiler?

610


How do I list all processes in linux?

526


why is the tar command used?

550


How do I check storage on linux?

536


What command would you use to create an empty file without opening it to edit it?

576


What is a ulimit in unix?

520