title: Prevent shell script from exiting on certain command when set -e is enabled
body: <p>I have shell script where i have set -e in first line and I am checking for binary in path using <code>where kubectl</code>. If kubectl is not present on system then this command returns non-zero error hence entire script break. I want to silence functionality of <code>set -e</code> while running <code>where</code> command. Is there a way I can protect script from exiting or in other words ignore return code of selective command in script? </p>