running a bash file states:date: command not found
Solution 1:
PATH="/var/log/servers/Game/"
This sets the PATH
to just that directory, and I doubt that directory contains date
.
Be careful when you use uppercase variable names, you could easily be stomping over a standard environment variable.
Stick to lowercase, and be more descriptive. Consider using, for example:
log_path="/var/log/servers/Game/"
NEWFILE="${log_path}${FILENAME}_${DATE}${EXT}"