Question: This is for linux. Part 1 Write a bash script (lab1_1.sh) That accepts a single command line parameter (string). Then the script reads another string

 This is for linux. Part 1 Write a bash script (lab1_1.sh)

This is for linux.

Part 1 Write a bash script (lab1_1.sh) That accepts a single command line parameter (string). Then the script reads another string from the standard input. Then the script displays 2 lines (each one ends with a new line character). The first line is Hello, this is lab1_1.sh The second line is either Identical or Not identical Explanation The first line should be able to print the name of the script. If I change the name to abc, it should print abc. The second line: if the command line argument is identical to the read value, it should display Identical, otherwise, it should display Not identical. Submission Submit this lab to 2032Z Directory LAB1 with file name lab1_1.sh Part 2 Write a bash script that accepts three integers as a command line argument (parameters). Depending on the values of the three integers. Let us call them a, b, and C (in order). If c = a +b, it should display "that is additions" (without the quote and ended with a new line) If c = a - b, it should display "that is subtraction" (without the quote and ended with a new line) If c = a*b, it should display, "that is multiplication" (without the quote and ended with a new line)

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!