Insert a heading line as follows to the top of the file and output the resulting data to a file called move1.txt. Name Phone Number Jan Feb Mar 2) Duplicate the file in a file called move2.txt, except replace the name Hauschild with Housechild 3) Put the list of donors (only their full name, no other data) with area code 916 in a file called move3.txt

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

Note: These tasks do not have to be done in one single command. They can be done in a series of commands working on different files, or piped from one command to another. In fact, I would suggest breaking the task up if that would make some of them easier.

 

1) Insert a heading line as follows to the top of the file and output the resulting data to a file called move1.txt.

Name Phone Number Jan Feb Mar

2) Duplicate the file in a file called move2.txt, except replace the name Hauschild with Housechild

3) Put the list of donors (only their full name, no other data) with area code 916 in a file called move3.txt

Expert Solution
Step 1
  • set is more complete and will include variables you’ve set in addition to the ones inherent to your environment. 
  • printenv and env offer similar output of built-in environment variables, but env has more robust capabilities beyond printenv’s simple display purposes, including running a program in a modified environment. The accepted answer here provides some deep history about the existence of both commands and how and why they differ. 
trending now

Trending now

This is a popular 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