Question: Write a shell script to display arguments to script. Enter any three input arguments to script and display. (e.g. > arg1 arg2 arg3 o/p: argument

 Write a shell script to display arguments to script. Enter any

Write a shell script to display arguments to script. Enter any three input arguments to script and display. (e.g. > arg1 arg2 arg3 o/p: argument 1 is arg1. argument2 is arg2. argument3 is arg3.) - Enter 5 integer numbers as arguments to shell script and obtain the highest, the lowest and the average number. e.g. i/p: >1122334455 o/p: Highest: 55, Lowest:11, Average:33). - Perform basic operation addition, subtraction, multiplication and division onto two input integers. Use three arguments (value1, operator, value2) for shell script. (e.g. i/p: 4+3 o/p:7, i/p: 43 o/p:1>13 3 o/p:39, i/p: >13/4 o/p: 3 ). - Compute the factorial of an entered integer (e.g. i/p: >5 o/p: 120 ). - Write a shell script to reverse a given positive integer. (e.g. i/p: >123 o/p:321, i/p: >1230 o/p:321)

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!