Terminal base and exit command