Question: Bash Scripting (30 Points) 1. Given a file, replace all occurrence of word GHI with ABC from 5th line till end in only those lines

Bash Scripting (30 Points)

1. Given a file, replace all occurrence of word GHI with ABC from 5th line till end in only those lines that contains word MNO

2. Read all input to the command from file1 direct all output to file2 and error to file 3, how can I achieve this in bash?

3. Find the count of lines containing word CAT using bash command or shell script.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!