Open main menu

CDOT Wiki β

Changes

OPS235 Lab 3

53 bytes removed, 14:22, 3 February 2020
Part 2: Restoring Files From an Archive
#Are all the files there?
#Compare '''/tmp/extract1/README''' and '''/usr/share/doc/sudo*/README'''. Are they exactly the same? Why?
#Create the directory '''/tmp/extract2'''#Move the file and '''archive2.tar.gzcd''' to the '''/tmp/extract2''' directoryinto it.
#Extract the files from the second archive by issuing the following command: <b><code><span style="color:#3366CC;font-size:1.2em;">tar xvzf /tmp/extract2/archive2.tar.gz</span></code></b>
#Note that this time a separate <b><code><span style="color:#3366CC;font-size:1.2em;">gunzip</span></code></b> command was not needed. Why?