Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please, solve it with linux ubuntu and show it by screen shot . Thanks Example2: Create two directories dl and d2 and two files cl

Please, solve it with linux ubuntu and show it by screen shot . Thanks

image text in transcribed

Example2: Create two directories dl and d2 and two files cl and c2. Inside directory dl: Create three files (fl, f2, and f3), and move directory dl into d2. Do the following: Archive and compress d2 to a file named archive.tar.gz , Compress the directory /usr/local and the directory /etc/passwd to a file named archivel.tar.gz. as shown: $ tar -czyf archive.tar.gz d2 $ ls $ tar -czvf archivel.tar.gz /usr/local /etc/passwd $ls Write the results. Add the file cl to the archived file archivel.tar.gz (how? Write the command for this case and executed on the terminal) Now , remove the two directories dl and d2, cl and c2 Then, extract the contents of archive.tar.gz and archivel.tar.gz to the current directory: $ tar -xzvf archive.tar.gz $ tar -xzvf archivel.tar.gz $ ls Write the results. Note: You can see that these directories are achieved, compressed, and saved on your working directory (i.e. saved on the Desktop)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

More Books

Students also viewed these Databases questions

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago