I have an
if in my bash script that has to check if EITHER of the 2 files exists, if they don't exist it should echo match.
Code I have:
if [[ ! -f /etc/benchmarking/code ]] && [[ ! -f /etc/benchmarking/code.class ]]; then echo "match" fi
But this doesn't not seem to work for some reason.
I am 110% sure that these 2 files do not exist. I don't get any errors, it just doesn't enter the
I am new to bash scripting so I'm not sure what could be wrong.