Question: Please solve the question in Ubuntu Create two directories C1 and C2 Inside directory C1 create two files m1 and m2 Type the following phrases

Please solve the question in Ubuntu

Please solve the question in Ubuntu Create two directories C1 and C2

Create two directories C1 and C2 Inside directory C1 create two files m1 and m2 Type the following phrases in the 1st file m1: 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 heads are better than one Friendship is always a sweet responsibility, never an opportunity. . Create the files cf, bq, T1, T2, u1, 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.cpio f) Move the files cf, bq, T1, T2, u1, and ue into the directory C2 g) Using the cpio command archive the files in directory C2 into a file named g2.tar h) Archives and compress the files of C1 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 xb.gz

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!