Question: Bash Scripting (30 Points) 1. In Bash Shell what are the differences between $* and $@? 2. Given a file, replace all occurrence of word

Bash Scripting (30 Points)

1. In Bash Shell what are the differences between $* and $@?

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

3. In Bash what are the differences between $$ and $!?

4. 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?

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

6. What are the 3 standard streams in Linux?

7. What is the default permissions of a new file created on Linux Operating System?

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!