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 use nslookup in linux?

503


Which of the Commands delete the files from the /tmp directory, issued by non-root user?

643


What is the command to see on which port which service is running?

528


What is env command in linux?

507


What is difference between egrep and grep?

511






What does chmod 666 do?

529


What could be the problem when a command that was issued gave a different result from the last time it was used?

688


What are the basic commands for user management?

541


What is the use of man command in linux?

527


Enlist some linux to file content commands?

563


How do I find the console in linux?

542


How do I check memory usage on linux?

553


What is DISM command?

511


What is umask 000?

545


How do I check terminal history?

512