How to create executable file just like in folder /bin?

I know shell is an interpreter language, but can I make an executable file just like in folder /bin, /usr/bin, etc which source code was from a .sh file or from some .sh files??
My main purpose is to hide the source code.

thanks.

You could try shc Shell Compiler

1 Like