Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 Exercises Make the Desktop your working directory, create two file with end marker using the first letters of your name and your number. Then,

image text in transcribed
image text in transcribed
1 Exercises Make the Desktop your working directory, create two file with end marker using the first letters of your name and your number. Then, do the following: Type the following phrases in the 1 file Ali The two most powerful warriors are patience and time Time is money Time waits for no one Better three hours too soon than a minute too late Type the following phrases in the zble A2: Change the world by being yourself Every moment is a fresh beginning Never regret anything that made you smile Die with memories, not dreams Aspire to inspire before we expire Everything you can imagine is real Simplicity is the ultimate sophistication Whittever you do, do it well What we think, we become. Create two directories dd 1 and dd2 Then do the following: a) Copy the files A1 and A2 into directory dd2 b) Compress the files inside directory dd2 without removing the original files in the directory (Use gzip command) c) Inside directory dd 1 create the following files 22.txt, x1, a2.txt, ali, ac.txt d) Archives then compress the files of directory dd into a file named Art.tar.gz e) Add the file Al to the archived file Ar 1.tar Now list the files that archived in Arl.tar B) Remove all the original files from the directory dd1 h) Extract the files X1 and ali from the archived Arl.tar.gz i) Extract the files from the archived file Ar 1.tar to a directory named EA using cpio i) Archive only the files in directory dd2 that have an extension "Ext" into an archive file named: "ob1.cpio" 2 Clear the Desktop and again make the Desktop your working directory, create two file with end marker using the first letters of your name and your number. Then, do the following: Create two directories C1 and C2 Inside directory C1 create two files ml and m2 Type the following phrases in the 1" file mi: A Piece of Cake Back to Square One I believe humans get a lot done, not because we're smart, but because we have thumbs so we can make coffee Coffee: the favorite drink of the civilized world Type the following phrases in the 2nd file m2: A true friend is one who walks in when the rest of the world walks out The most beautiful discovery true friends make is that they can grow separately without growing apart Two leads are better than one Friendship is always a sweet responsibility, never an opportunity. Create the files cf, bq, 11, 12, ul, and uc Then do the following: a) Using the cat command merge the content of the two files (m1 and m2) and save the result into new file named ot. b) Display the last four lines of the file ot. c) Mach the lines containing the word (world). d) Count the total number of the word (one) e) Archives the files m1, m2, and ot inside the directory C1 into a file named g1.cplo f) Move the files cf, bq, T1, T2, u1, and ue into the directory C2 B) Using the cpio command archive the files in directory C2 into a file named g2.tar h) Archives and compress the files of Cl into a file named test.tar.gz, then remove the original files i) Extract the file ot only i) Compress the files in C2 into a file named xb.gz k) List all the information about the compressed files 1) Decompressed the files from xt.gz + Q 6 14 and

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

Expert Performance Indexing In SQL Server

Authors: Jason Strate, Grant Fritchey

2nd Edition

1484211189, 9781484211182

More Books

Students also viewed these Databases questions

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago