Changes

Jump to: navigation, search

OPS235 Lab 3

6 bytes added, 08:57, 21 June 2016
no edit summary
<li>Compress the file using '''gzip''' by issuing the command: <b><code><span style="color:#3366CC;font-size:1.2em;">gzip /tmp/archive1.tar</span></code></b></li>
<li>Record the archive file size after compression.</li>
<li>Make sure you're still in '''/usr/share/doc/sudo*''' and then create a compressed archive by issuing the following command:<br> <b><code><span style="color:#3366CC;font-size:1.2em;">tar cvzf /tmp/archive2.tgz tar.gz .</span></code></b></li>
<li>What does the''' z''' option do?</li>
<li>Compare the sizes of '''/tmp/archive1.tar.gz''' and '''/tmp/archive2.tgztar.gz'''. Why are they so close in size?</li>
</ol>
13,420
edits

Navigation menu