Question: Homework 2 Linux Shell Scripting . Design a shell script that reads values(integer) a, b,c and d from standard input. Based on the values you

 Homework 2 Linux Shell Scripting . Design a shell script that

Homework 2 Linux Shell Scripting . Design a shell script that reads values(integer) a, b,c and d from standard input. Based on the values you read, calculate the result of following expression An example of executing the script calculate.sh 4 1252 The value of " 5 ! -12 ^ 2 + 5/2 " is =-22 Requirements 1. script of name: calculate.sh 2. Can be executed from any directory using command: calculate.sh 1234 3. Values of variable should be passed as arguments to command 4. predict the results and post a screen shot bellow 2. Design a shell script that asks a reader to provided two integer numbers from standard input. Depending on the relation between the two inputs, it prints all the integers between a and b in descending order if a>b, or in ascending order when a

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!