Whenever I run this code I get a bunch of errors and it automatically skips to the else statement and I have no idea why. Any advice is appreciated.
#! /bin/bash