Q: Make the Desktop your working directory, create a directory dd; inside this directory create two files zl and z2. Note: When create the files you have to name the files by writing each file name (i.e. the above files z1, z2, or the file below ff), followed by the 1st letters of your name and your father name, your number, and then your class (i.e. A or B). Then, do the following: Type the following phrases in the 1 file z1: A great man is always willing to be little Don't count the days, make the days count Be kind whenever possible. It is always possible Well done is better than well said Type the following phrases in the 2nd file z2: I think, thus I am It always seems impossible until it's done Be proud of who you are Be the hero of your own story a) Display the content of the 2nd file followed by the 1st file b) Save the content of the two files zl and z2 in a single file named ff. c) Display the content of ff with line number

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Q: Make the Desktop your working directory, create a directory dd; inside this directory
create two files zl and z2.
Note: When create the files you have to name the files by writing each file name (i.e. the
above files z1, z2, or the file below ff), followed by the 1st letters of your name and your father
name, your number, and then your class (i.e. A or B). Then, do the following:
Type the following phrases in the 1st file z1:
A great man is always willing to be little
Don't count the days, make the days count
Be kind whenever possible. It is always possible
Well done is better than well said
Type the following phrases in the 2nd file z2:
I think, thus I am
It always seems impossible until it's done
Be proud of who you are
Be the hero of your own story
a) Display the content of the 2nd file followed by the 1st file
b) Save the content of the two files zl and z2 in a single file named ff.
c) Display the content of ff with line number
d) Merge the first four lines of file ff using a single step (i.e. a single instruction).
e) Count the total number of the word "be"
f) Archives and compress the three files into a file named x.tar.gz
g) Extract the file z2 from the archived file x.tar.gz
Transcribed Image Text:Q: Make the Desktop your working directory, create a directory dd; inside this directory create two files zl and z2. Note: When create the files you have to name the files by writing each file name (i.e. the above files z1, z2, or the file below ff), followed by the 1st letters of your name and your father name, your number, and then your class (i.e. A or B). Then, do the following: Type the following phrases in the 1st file z1: A great man is always willing to be little Don't count the days, make the days count Be kind whenever possible. It is always possible Well done is better than well said Type the following phrases in the 2nd file z2: I think, thus I am It always seems impossible until it's done Be proud of who you are Be the hero of your own story a) Display the content of the 2nd file followed by the 1st file b) Save the content of the two files zl and z2 in a single file named ff. c) Display the content of ff with line number d) Merge the first four lines of file ff using a single step (i.e. a single instruction). e) Count the total number of the word "be" f) Archives and compress the three files into a file named x.tar.gz g) Extract the file z2 from the archived file x.tar.gz
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY