Open main menu

CDOT Wiki β

Changes

OPS235 Lab 5 - Fedora17

98 bytes added, 10:25, 21 February 2011
no edit summary
{{Admon/note|Use fedora3|Perform these steps in the '''fedora3''' virtual machine.}}
#Create the directory <code>/tmp/extract1</code> and make it your current working directory (change into that directory).
#Move the file archive1.tar.gz to your current directory.
#Unzip the first archive you created:
#*<code>gunzip /tmp/archive1.tar.gz</code>
#Extract the files from the first archive:
#*<code>tar xvf /tmp/archive1.tar</code>
#Are all the files there?
#Compare <code>/tmp/extract1/README</code> and <code>/usr/share/doc/sudo*/README</code>. Are they exactly the same? Why?
#Create the directory <code>/tmp/extract2</code> and make it your current working directory.
#Move the file archive2.tgz to your current directory.
#Extract the files from the second archive:
#*<code>tar xvzf /tmp/archive2.tgz</code>
#Note that this time a separate <code>gunzip</code> command was not needed. Why?
#Compare the <code>README</code> file in this directory with the original file. Are they exactly the same?
13,420
edits