DevBuZZOps

Wednesday, 25 May 2016

Runtime_issues and resolutions

error :/bin/sh^M: bad interpreter: No such file or directory


This can be resolved by using these steps:

To fix this, open your script with vi or vim and enter in vi command mode (key ESC), then type this:
:set fileformat=unix
Finally save it
:x! or :wq!

Posted by TMR Consultancy services at 04:25
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

TMR Consultancy services
View my complete profile

Blog Archive

  • ►  2021 (5)
    • ►  June (4)
    • ►  May (1)
  • ►  2020 (3)
    • ►  August (2)
    • ►  May (1)
  • ►  2017 (4)
    • ►  November (1)
    • ►  July (1)
    • ►  May (1)
    • ►  April (1)
  • ▼  2016 (16)
    • ►  June (2)
    • ▼  May (6)
      • Ansible installation_and_its_setup
      • Runtime_issues and resolutions
      • DevOps_automation_scripts
      • DevOps interview questions
      • Nagios installation and its setup without Docker
      • Vagrant and its setup
    • ►  April (8)
  • ►  2015 (2)
    • ►  December (1)
    • ►  September (1)
Simple theme. Theme images by luoman. Powered by Blogger.