Quiz 5:The tar and jar utilities


Answer the questions below. When you are satisfied with all your answers, press the Send button below to transmit your answers. At any time before that, you can change your responses.


Type your name:

Type in your CS login account name (not sunlab login account):

Type in your preferred email address:

Question 1: What is the chief purpose of the tar and jar utilities?

Question 2: What will you get with the -v option to the tar command?

Question 3: Will the tar utility create directories when you extract them from a tar file or do you have to have the directories in place and just let the tar utility "pour" the files into the existing directory tree?

Question 4: What does the following command do:
tar -tf classFiles.tar?

Question 5: In addition to gathering together multiple Java and supporting files into one, what does the jar utility do?

Question 6: If you create a jar file with the contents of a directory named classFiles, what will happen if you extract the contents of that jar file in the /tmp directory?