Bash script prints “Command Not Found” on empty lines
Make sure your first line is: Enter your path to bash if it is not /bin/bash Try running: That wil convert line endings, etc from Windows to unix format. i.e. it strips \r (CR) from line endings to change them from \r\n (CR+LF) to \n (LF). More details about the dos2unix command (man page) Another … Read more