1.

Which command is used for compressing and archiving files together?(a) gzip and tar(b) gzip(c) bzip2(d) zipThis question was posed to me in semester exam.I need to ask this question from Compressing and Archiving Files in section Handling Ordinary Files of Unix

Answer»

The correct OPTION is (d) zip

To elaborate: zip command combines the work of both GZIP and tar i.e. it can COMPRESS and archive files together. The compression ratio using zip is lower as COMPARED to bzip2 or gzip.



Discussion

No Comment Found

Related InterviewSolutions