Using the Command Line in Live Terminal on a Mac

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Using the Command Line in Live Terminal on a Mac

L0 Member

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.

1 accepted solution

Accepted Solutions

L2 Linker

@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-C02DNADUMD6M 

Any 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 (Z shell) is the default shell for all newly created user accounts, starting with macOS Catalina.
  • bash is the default shell in macOS Mojave and earlier.

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

View solution in original post

1 REPLY 1

L2 Linker

@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-C02DNADUMD6M 

Any 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 (Z shell) is the default shell for all newly created user accounts, starting with macOS Catalina.
  • bash is the default shell in macOS Mojave and earlier.

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

  • 1 accepted solution
  • 3274 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!