Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
1) Make the Desktop your working directory, create three file with end marker using the first letters of your name and your number. Then, do the following: type the following phrases in the 1st file kk: A bird in hand is worth two in the bush A bad workman always blames his tools A cat has nine lives Empty Lines Actions speak louder than words type the following phrases in the 2nd file w1: All good things come to an end Best things in life are free Don't judge a book by its cover Don't put all your eggs in one basket type the following phrases in the 3rd file w2: Fall seven times. Stand up eight Good things come to those who wait Honesty is the best policy Laughter is the best medicine List the files with long and time format cises List the files with long and time format . Combine the content of 1st and 3rd files into a new file named ff.txt. Display the content of the new file. Display the content of ff.txt file in reverse order. Append the content of the file ff.txt with content of the 2nd file. Display the first three lines of file ff.txt followed by the content of the directory etc. Copy all the files in a new directory named CC. Display the content of Display the type of tac, head, tail and echo commands. 2) Make the Desktop your working directory, create three file using the first letters of your name and your number followed by al for the 1st file, a2 for the 2nd file, and a3 for the 3rd file. Then, do the following: ercises Type the following phrases in the 1st file : Where there's a will, there's a way What goes around comes around Type the following phrases in the 2nd file : Two heads are better than one Empty Lines The show must go on Type the following phrases in the 3rd file : The proof of the pudding is in the eating Practice makes perfect Display the content of the files a2 followed by a3 followed by a1. Create a command to save the content of the files al and a2 into a new file called GX.txt, list the content of the GX.txt with line number, display the content of the file a2 and al with numbers of non empty lines, then list all the files names that started with a letter and ended with a number 1 or 2 or 3. Concatenate all the content of all the files: a1, a2 and a3 in a single file named Z.txt. Then: - Display the content of Z.txt showing the end of each line $. -Display the content of Z.txt followed by the content of the file kk with line number and ending each line by $. Display the content of Z.txt with nonempty line number and with tab spaces between the words Display the last two lines of /etc/protocols followed by the last two lines in Z.txt Display all the options of cat command

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

Database Principles Programming And Performance

Authors: Patrick O'Neil, Elizabeth O'Neil

2nd Edition

1558605800, 978-1558605800

More Books

Students also viewed these Databases questions

Question

Understand the roles of signs, symbols, and artifacts.

Answered: 1 week ago

Question

Know the three main dimensions of the service environment.

Answered: 1 week ago