Question: Write A Shell Script to find the sum of the digits of a number. It Should Support The Following Requirements. a. The script should accept
Write A Shell Script to find the sum of the digits of a number. It Should Support The Following Requirements. a. The script should accept the input from the command line. b. If you dont input any data, then display an error message to execute the script correctly.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
