Quantcast
Viewing all articles
Browse latest Browse all 5995

Bash scripts do not function correctly in Ubuntu 24.04 [duplicate]

When I run my Bash scripts (launchpad.net/linuxha) and (launchpad.net/linuxsoho) in Ubuntu 24.04, I receive the following errors:

./LinuxHA.sh: 175: read: Illegal option -s./LinuxHA.sh: 355: Syntax error: "(" unexpected (expecting "}")./LinuxSOHO.sh: 65: read: Illegal option -s./LinuxSOHO.sh: 94: Syntax error: "(" unexpected (expecting "}")

These two scripts work just fine in Ubuntu 22.04, so something changed in Bash with the new Ubuntu 24.04 operating system.


Viewing all articles
Browse latest Browse all 5995

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>