The TerminalCommands function creates the set of builtin terminal commands.