{"id":4552,"date":"2012-01-31T09:53:00","date_gmt":"2012-01-31T09:53:00","guid":{"rendered":""},"modified":"2026-04-18T22:49:19","modified_gmt":"2026-04-18T22:49:19","slug":"bad-interpreter-no-such-file-or-directory","status":"publish","type":"post","link":"https:\/\/hellem.org\/wblog\/?p=4552","title":{"rendered":"bad interpreter: No such file or directory"},"content":{"rendered":"<p>Categorized by me as &#8220;WTF???&#8221;. I did have sh installed in the bin-folder, but as usual, Google is my friend, found this perl snippet<\/p>\n<p><!-- codeblock lang=\"\" line=\"1\" --><\/p>\n<pre><code>perl -i -pe's\/\\r$\/\/;' &lt;file name here&gt;<\/code><\/pre>\n<p><!-- \/codeblock --><\/p>\n<p>Solution provided by <a href=\"http:\/\/www.linuxquestions.org\/questions\/linux-general-1\/bad-interpreter-no-such-file-or-directory-213617\/#post1975207\">vbrummet<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Categorized by me as &#8220;WTF???&#8221;. I did have sh installed in the bin-folder, but as usual, Google is my friend, found this perl snippet perl -i -pe&#8217;s\/\\r$\/\/;&#8217; &lt;file name here&gt; Solution provided by vbrummet<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47],"tags":[],"class_list":["post-4552","post","type-post","status-publish","format-standard","hentry","category-work-geek"],"_links":{"self":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/4552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4552"}],"version-history":[{"count":1,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/4552\/revisions"}],"predecessor-version":[{"id":13062,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/4552\/revisions\/13062"}],"wp:attachment":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}