I am writing script for mining servers. It's taking 2 parameters from https://configmaker.com/my/TintedRawRubberyChafer.txt.In last you are putting a coin the was mining before now, and on which you want to change.Script should rename file due to this configuration and reboot the server. So I need to check if file exist. But while checking I got and error. It is only building of algorithm, so don't pay attention. Error is changer.bash: line 14: [-e: command not foundHere is the script. wget https://configmaker.com/my/TintedRawRubberyChafer.txtsource TintedRawRubberyChafer.txtfile=./btc.stub.confif [-e $file  ]; then    rm claymore.stub.conf $last    rm btc.stub.conf claymore.stub.conf firm TintedRawRubberyChafer.txt
Checking file existence error
scripting
As the error message hints, you have to useif [ -e $file ]; and notif [-e $file  ]; 