Notepad ++ execution error when writing shell statements

Source: Internet
Author: User

Notepad ++ execution error when writing shell statements

I think the vi format scheduling is not very good. I used notepad ++.

During a shell statement debugging, it was found that there were no errors when the shell copied from notepad ++ was executed in Linux! However, when you upload the shell script written by notepad to Linux for debugging, an error indicating that the command cannot be found is reported! Think about it. The root cause of the problem must be Nodepad ++. Then, find the cause,It turns out to be a format conversion problem.

Temporary solution:

Permanent solution:

Open in notepad ++, set, preference

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.