Is there any way where a shell scripts source code can be protected? Basically, I'm after to convert shell scripts into to some form of binaries so that my shell script source code can be protected.
Keep in mind, btw, that such an executable is probably not hard to reverse-compile. Using strings(), ltrace() and strace(), it can be fairly easy to know what's going on. However, at least your source will be protected.
@OP , you don't need to do that. Just give the necessary permissions for anyone who is ever going to use the script. Even if you compile your source and become executable, how are you going to protect your original source code?