1.

Which one of the following extension is provided by gzip to the compressed filename?(a) .cm(b) .gz(c) .zip(d) .zpThis question was addressed to me in an interview for job.This interesting question is from Compressing and Archiving Files in section Handling Ordinary Files of Unix

Answer»

Right option is (B) .gz

The explanation: gzip adds an extension to the filename after compressing it and REMOVES the original FILE. For example, if we COMPRESS a file named file01.txt using gzip then the new filename will be file01.txt.gz.



Discussion

No Comment Found

Related InterviewSolutions