Question: Part 1 Identify 3 files in a single directory. These can be files that you already created for Linux Assignment 7 or some other assignment.
Part
Identify files in a single directory. These can be files that you already created for Linux Assignment or some other assignment. The specific files don't matter.
Create a tarball from these files. Give the tarball a name: you can use atar or some other name. Issue a ls l command, and note the size of the tarball.
Compress this tarball with gzip. Issue a ls l command to see how the size of the file has changed.
Create a subdirectory called gzip. Copy your gzipped tarball into the gzip directory.
Change to the gzip directory, then uncompress the file with gunzip and extract its contents with tar.
Part
Return to the directory where you started cd then uncompress the tarball from Part with gunzip.
Repeat steps and from Part except use the bzip and bunzip commands, and create a directory named bzip
As you work, note the size of the file after compressing it with bzip How does it compare to the size of the file created by gzip?
Part
Return to the directory where you started cd then uncompress the tarball from Part with bunzip
Repeat steps and from Part except use the compress and uncompress commands, and create a directory named compress.
As you work, note the size of the file after compressing it with compress. How does it compare to the size of the files created by gzip and bzip
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
