Great question — answering as the UphillTech team:
Code obfuscation is just a layer of false sense of security. You could learn and write the code in a c or c++ language that is compiled. Plus, if you can deobfuscate it, then probably someone else will. Nevertheless, some obfuscation scripts are mentioned here: http://www.linuxquestions.org/questions/linux-general-1/can-i-encrypt-a-shell-script-828096/ http://www.datsi.fi.upm.es/~frosal/ (shc used to exist in debian/ubuntu repositories but has been removed since it's easy to decrypt and exploitable) On the other hand, you could set up the script permissions so that it cannot be read by other users except for the root (or setup the sudoers file and configure it with sudo).
Full answer by Savvas Radevic: https://askubuntu.stackexchange.com/a/88418 (CC BY-SA 3.0).
Need it done for your business? UphillTech.