How to write a bash shell script that accepts 5 different integer values as command line arguments and displays the smallest, the largest and the middle argument. the script uses: An if statement. The if statement should give an error message if the number of arguments is not exactly 5 and then it executes the exit command to end the script.
A push in the right direction or something would greatly be appreciated. thanks