Execute but not read permission for a shell script

file-permissionspermissions

If I give execute permission for a shell script but not read permission to others, they are unable to run the script. Is there a way I can have users run a script but not see its contents?

Best Answer

No. In order to execute the script, one has to be able to read it.

Related Question