Exit code 2 signifies invalid usage of some shell built-in command. Examples of built-in commands include alias, echo, and printf.