Changes

Jump to: navigation, search

OPS235 Lab 5 - Fedora17

158 bytes added, 10:19, 10 February 2012
no edit summary
{{Admon/important | Warning! | Don't miss the '''.''' at the end of the <code>tar</code> commands below! It specifies what should go into the archive: the contents of the current directory.}}
#<ol> <li value="4">What do the options c, v, and f mean?</li># <li>Record the archive file size.</li># <li>Compress the file using <code>gzip</code>:#* <ul> <li><code>gzip /tmp/archive1.tar</code></li># </ul> </li> <li>Record the archive file size after compression.</li># <li>Make sure you're still in <code>/usr/share/doc/sudo*</code> and then create a compressed archive:#*<ul> <li><code>tar cvzf /tmp/archive2.tgz .</code></li> </ul># </li> <li>What does the <code>z</code> option do?</li># <li>Compare the sizes of <code>/tmp/archive1.tar.gz</code> and <code>/tmp/archive2.tgz</code>. Why are they so close in size?</li></ol>
13,420
edits

Navigation menu