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
Get step-by-step solutions from verified subject matter experts
