Unix bad interpreter no such file or directory


















Similar answer already exists. It's a duplicate answer. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Helping communities build their own LTE networks.

Podcast Making Agile work for data science. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Linked Related 6. Hot Network Questions. I often encounter a problem, editing a good file in Windows, such as the SH script, is transmitted to Linux inside, an error is as follows: Analysis: This is caused by different system coding format Sometimes the error similar to the list is displayed when writing scripts, most of which is because the script file has been edited under Windows.

Today, deploy a springboot project to the centos system, and start the script that I wrote in Windows. According to p Programmer Sought. Collectives on Stack Overflow. Learn more. Asked 9 years ago. Active 1 year, 9 months ago. Viewed k times. Improve this question. Chris Tang 7 7 silver badges 14 14 bronze badges. How did you create the file? And I know this isn't the ideal way to do things — cartonn. See my answer, this is most likely the issue — cowls. I got this with a hashbang misspelling:!

The "duplicate" question did not. Show 2 more comments. Active Oldest Votes. Improve this answer. I am using UltraEdit. I ran into SAME problem.

I was lucky that my script was only 10 lines of code. So, I typed the whole thing and save it. It works. Thank you cowls. Show 14 more comments. My script was a.



0コメント

  • 1000 / 1000