Linux script with bad interpreter: No such file or directory error and fix
I had written a script that worked on one machine but not another Linux installation, Red Hat Enterprise Linux 5. The script returned an error with “bad interpreter: No such file or directory” and referenced the first line of code. I could not visually see the error as it looked to be like any other script. The problem turns out…
Read More »