1.

Which of the following command is used for viewing the attributes of contents of an archive?(a) tar -tvfabc.tar(b) tar -cvfabc.tar(c) tar-xvfabc.tar(d) tar-tabc.tarI got this question in quiz.Origin of the question is Compressing and Archiving Files topic in section Handling Ordinary Files of Unix

Answer»

Correct answer is (a) tar -tvfabc.tar

To explain I would say: -t OPTION is used with tar for viewing the contents of the ARCHIVE in a table manner. It does not extract files rather it simply shows their ATTRIBUTES in a suitable form CONTAINING file permissions, file size and file name.



Discussion

No Comment Found

Related InterviewSolutions