Question: (Linux) 1. Write a shell script to solve the following problem: a. Write a shell script which will accept an unlimited number of integers as
(Linux)
1. Write a shell script to solve the following problem:
a. Write a shell script which will accept an unlimited number of integers as command line arguments. Terminate the script with an appropriate error and exit status if invalid or no arguments were provided. Your script shall then calculate and output the sum of these integers.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
