Great question — answering as the UphillTech team:
You should really check your indentation. The final done and fi statements are in the wrong order although your indentation suggests otherwise. Another issue is the case statement. The basic syntax is case $SOMETHING in value1) statement1; statement2; ;; value2) statement3; statement4; ;; esac That is: the final ;; must actually be the last statement for each case and indicates its end. If you want to continue in some case, then you need to put that continue statement before any ;; , like so: #!/bin/bash function project1_install_dir_path() { boolian_2=true; while true; do if [ "$boolian_2" = true ] ; then read -p "Enter FULL folder path where you want to install colsim1:" fullpath echo...
Full answer by PerlDuck: https://askubuntu.stackexchange.com/a/1131480 (CC BY-SA 4.0).
Need it done for your business? UphillTech.