I want to make the following script:
Write script, which can accept two arguments from the command line. The arguments will be
integers and the first argument is smaller than the second. If the condition does not apply
script will terminate with an appropriate message and exit code 1.
If the condition is true, then the program will print on screen the names and number of
special registers block (block special files), which are located in / dev if
number is greater than or equal to the first argument and less than or equal to the second
argument. Otherwise, and terminates the execution with an appropriate message and exit code
2.
After the "exit 1" i dont know exactly how to continue the script,so i think that the following lines are wrong!I am confused