dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

When ssh to mac, bash version is 3

Open ikuwow opened this issue 5 years ago • 0 comments

$ ssh macmini
WARNING: Your bash version is 3!
Please use bash 4.0 ~ by these commands: (Mac)
sudo bash -c 'echo /usr/local/bin/bash >> /etc/shells'
chsh -s /usr/local/bin/bash
WARNING: Your bash version is 3!
Please use bash 4.0 ~ by these commands: (Mac)
sudo bash -c 'echo /usr/local/bin/bash >> /etc/shells'
chsh -s /usr/local/bin/bash
WARNING: Your bash version is 3!
Please use bash 4.0 ~ by these commands: (Mac)
sudo bash -c 'echo /usr/local/bin/bash >> /etc/shells'
chsh -s /usr/local/bin/bash
$ echo $BASH_VERSINFO
3

ikuwow avatar Jul 20 '19 14:07 ikuwow