Question: Section A Create a script named testscript.sh to print a number in reverse order. The script should accept the input from the command line.
Section A Create a script named testscript.sh to print a number in reverse order. The script should accept the input from the command line. If no data is input, then display an error message to execute the script correctly $ ./testscript.sh Please provide the correct input in the below format. Usage: ./testscript.sh number This script will reverse the given number. For eg. ./testscript.sh 1234, will print 4321 Section B Write a script to demonstrate nested if else statement
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
