Question: On your Fedora Linux virtual machine, open the command - line use the sudo command modifier to elevate your privileges where required. At the command
On your Fedora Linux virtual machine, open the commandline use the sudo command modifier to elevate your privileges where required.
At the command prompt, type tar cvf testtar etcsamba and press Enter to create an archive called testtar in the current directory that contains the etcsamba directory and its contents. Next, type ls l testtar at the command prompt and press Enter. How large is the testtar file?
At the command prompt, type tar tvf testtar and press Enter. What is displayed?
At the command prompt, type mkdir new and press Enter. Next, type cd new at the command prompt and press Enter to change the current directory to the new directory.
At the command prompt, type tar xvf roottesttar and press Enter to extract the contents of the testtar archive. Next, type ls RF at the command prompt and press Enter to view the contents of the new directory. Was the extraction successful?
At the command prompt, type cd and press Enter to return to your home directory.
At the command prompt, type tar zcvf testtar.gz etcsamba and press Enter to create a gzipcompressed archive called testtar.gz in the current directory that contains the etcsamba directory and its contents. Next, type ls l testtar.gz at the command prompt and press Enter. How large is the testtar.gz file? How does this compare to the size obtained for testtar in Step Why?
At the command prompt, type tar ztvf testtar.gz and press Enter. What is displayed?
At the command prompt, type mkdir new and press Enter. Next, type cd new at the command prompt and press Enter to change the current directory to the new directory.
At the command prompt, type tar zxvf roottesttar.gz and press Enter to uncompress and extract the contents of the testtar.gz archive. Next, type ls RF at the command prompt and press Enter to view the contents of the new directory. Was the extraction successful?
At the command prompt, type cd and press Enter to return to your home directory.
At the command prompt, type rm Rf new and press Enter to remove the directories created in this handson project.
At the command prompt, type rm f test and press Enter to remove the tar archives created in this handson project.
Type exit and press Enter to log out of your shell.
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
