Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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: o Type the following phrases in the 1st file : Exercises Where there's a will, there's a way What goes around comes around o Type the following phrases in the 2nd file : Two heads are better than one Empty Lines The show must go on o 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 al. 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 a1 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. 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: o Type the following phrases in the 1st file : Exercises Where there's a will, there's a way What goes around comes around o Type the following phrases in the 2nd file : Two heads are better than one Empty Lines The show must go on o 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 al. 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 a1 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

Beginning C# 2005 Databases

Authors: Karli Watson

1st Edition

0470044063, 978-0470044063

More Books

Students also viewed these Databases questions