You missed a
fi at line 43, immediately before the closing ;; in case 1). I suggest also to re-read your course notes about the case statement. The question is: are the
Code:
if [ $selection -eq 1 ]; then ...
if [ $selection -eq 2 ]; then ...
statements really necessary?