Skip to content

SERVERDIARY

Talk about server and programming

  • Home
  • Featured
  • Linux
  • Database
  • Javascript
  • MAC OS
  • SEO
  • Web Server
  • WordPress
  • Google Adsense

Tag: bash script bad interpreter

-bash: script.sh: /bin/sh^M: bad interpreter: No such file or directory
Linux

-bash: script.sh: /bin/sh^M: bad interpreter: No such file or directory

ServerDiary

If you have problem when execute bash script, it’s caused by Windows environment and then porting over to run on a Unix environment. If you use Notepad++, go to Edit…

Search

Recent Posts

  • How to Install CURL 7.8 support HTTP2 on CentOS 7 and CentOS Stream 8
  • Benchmark PHP 8.1 vs PHP 8.0 vs PHP 7.4 vs PHP 7.3 vs PHP 7.0 vs PHP 5.6 vs PHP 5.5
  • Git remote add or set url on custom SSH port
  • Dropzone multiple Instance and read attribute on upload button to be used on URL or append data
  • How to make Youtube video embed full width and auto height on responsive design
  • How To Yum Update To Specific Version
  • How To Use Wget using Proxy Server
  • -bash: script.sh: /bin/sh^M: bad interpreter: No such file or directory

Catogories

  • Database
  • Featured
  • Javascript
  • Linux
  • MAC OS
  • SEO
  • Web Server
  • Wordpress
Copyright © 2023 SERVERDIARY Ascendoor Magazine by Ascendoor | Powered by WordPress.