Skip to content

SERVERDIARY

Talk about server and programming

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

bash script bad interpreter

Bash bad interpreter
Linux
26/01/2021 ServerDiary

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

If you have problem when execute bash script, it’s caused by Windows environment and then porting over to run on

Read More

Search

Recent Posts

  • How to fix yum update error thread.error: can’t start new thread
  • How to securing Cockpit login with Google Two Factor Authenticator 2FA
  • How to install Cockpit on CentOS 7 / CentOS 9 Stream and configure Nginx reserve proxy
  • How to install and configure Nginx with HTTP3 on CentOS 9 Stream / RHEL 9
  • How to sync date time using Crony on CentOS 9 Stream / RHEL 9
  • How to install and enable REMI repository on CentOS 9 Stream
  • How to install and configure Nginx ModSecurity on CentOS 9 Stream
  • How to Install CURL 7.8 support HTTP2 on CentOS 7 and CentOS Stream 8

Catogories

  • Database
  • Featured
  • Javascript
  • Linux
  • MAC OS
  • SEO
  • Web Server
  • Wordpress
Copyright © 2026 SERVERDIARY. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.