Bash error message: {bad interpreter: No such file or directory}

This article was first written in February 2005 for the BeezNest technical
website (

If you encounter the following error while trying to execute a shell script with Bash, it is probably a carriage return problem: bad interpreter: No such file or directory

To fix it, see HOWTO Convert carriage returns between UNIX and DOS on Debian.

It's only fair to share...Share on Facebook
Tweet about this on Twitter
Share on LinkedIn
Share on Tumblr
Email this to someone

Leave a Reply

Your email address will not be published. Required fields are marked *