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:
If you did use Homebrew to install BASH,
Removing the #!/bin/bash will be suffice.
#!/bin/bash