Question: Step 1 : Create, Extract, Compress, and Manage tar Backup Archives Creating tar archives is something you must do every day in your role at
Step : Create, Extract, Compress, and Manage tar Backup Archives
Creating tar archives is something you must do every day in your role at Credico Inc. In this section, you will extract and exclude specific files and directories to help speed up your workflow.
To get started, navigate to the ~Projects directory, where your downloaded TarDocs.tar archive file should be
Extract the TarDocs.tar archive file into the current directory ~Projects Then, list the directory's contents with ls to verify that you have extracted the archive properly.
Note that because you want to preserve the directory structure of our archive, you do not have to specify a target directory to extract to
Note that when you run ls you should see a new ~ProjectsTarDocs directory with five new subdirectories under TarDocs
Verify that there is a Java subdirectory in the TarDocsDocuments folder by running ls l ~ProjectsTarDocsDocuments
Create a tar archive called JavalessDocs.tar that excludes the Java directory from the newly extracted TarDocsDocument directory.
If you've executed this command properly, you should have a JavalessDocs.tar archive in the ~Projects folder.
Verify that this new JavalessDocs.tar archive does not contain the Java subdirectory by using tar to list the contents of JavalessDocs.tar and then piping grep to search for Java.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
