Question: 5. Create a text file with 5 lines. Insert a line containing the string And the Oscar goes to... exactly at line number 3, and

5. Create a text file with 5 lines. Insert a line containing the string And the Oscar goes to... exactly at line number 3, and in doing so remove the previous line (see sed). 6. Create a text file with 5 lines. Insert a line containing the string And the Oscar goes to... exactly at line number 3, without replacing the previous line (see sed)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
