Hi, all. I tried using Live Terminal for the first time today, and all was going well until I got the the Command Line section. While connected to a Mac, I got this error message:
bash: no job control in this shell The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s /bin/zsh`. For more details, please visit https://support.apple.com/kb/HT208050. root:oh-C02DNADUMD6M
Any ideas how I should proceed? I did not find any clues in the Pro Admin documentation.
This is a notice of a change to start with macOS Catalina which seems kind of forced. Mac will use zsh as the default login shell and interactive shell. You can make zsh the default in earlier versions of macOS as well if desired through your system preferences. By default, your Mac uses either zsh or bash as the command-line interpreter for the login shell and interactive shell:
zsh is highly compatible with the Bourne shell (sh) and mostly compatible with bash, with some differences. For more about zsh and its comprehensive command-line completion system, enter man zsh in Terminal.
You can choose ZSH as a default through your Mac system preferences or by running the command:
chsh -s /bin/zsh which will then run ZSH with an user in context and prompt for authentication.
More information on setting default shells:
ZSH cheat sheet:
Now if there are connectivity issues or the shell dies abruptly within the Cortex XDR live terminal session could you share a screenshot of the error or provide additional details?
Note: Live terminal sessions will terminate after some time with inactivity.