To fix #strace "Exec format error", you need to add a shebang at the start of your scripts so the kernel will know how to run them. For those wondering, a shebang is the character sequence consisting of the characters number sign and exclamation mark (#!) at the beginning of a script.
When you add the shebang at the start of a text file, it is interpreted as an #executable file.
More info >>
https://ibmimedia.com/blog/72/solution-to-strace-exec-exec-format-error