The error
Just a reminder that after the download of a bash script from a web server, you may get the following error:
theScript.sh: line 1: 404:: command not found
The reason
The reason is that the script theScript.sh was not found when you downloaded it. For instance:
wget https://hostname/theScript.sh
And the web server has returned the following text file
404: Not Found
Then wen you try to execute it:
bash theScript.sh
You get the error because 404 which is the first word, is seen as a command and is not found.