I want to go through the files in a directory with a for loop but this comes up.
echo: bad interpreter: No such file or directory
code:
This issue could also occur when the file is not in unix format.. try running dos2unix againts the file and try again.