Skip to content

When ssh to mac, bash version is 3 #11

@ikuwow

Description

@ikuwow
$ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions