- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
08-25-2021 01:32 PM
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.
08-28-2021 01:34 AM
@hannahraya wrote: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-C02DNADUMD6MAny ideas how I should proceed? I did not find any clues in the Pro Admin documentation.
Hello Hannahraya,
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:
https://support.apple.com/en-us/HT208050
ZSH cheat sheet:
https://github.com/ohmyzsh/ohmyzsh/wiki/Cheatsheet#helpful-aliases-for-common-git-tasks
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.
Regards,
Yalonso
08-28-2021 01:34 AM
@hannahraya wrote: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-C02DNADUMD6MAny ideas how I should proceed? I did not find any clues in the Pro Admin documentation.
Hello Hannahraya,
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:
https://support.apple.com/en-us/HT208050
ZSH cheat sheet:
https://github.com/ohmyzsh/ohmyzsh/wiki/Cheatsheet#helpful-aliases-for-common-git-tasks
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.
Regards,
Yalonso
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!