Skip to content

Instantly share code, notes, and snippets.

@hadifarnoud
Created September 26, 2014 10:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hadifarnoud/6e0352363c1a883e9d7c to your computer and use it in GitHub Desktop.
Save hadifarnoud/6e0352363c1a883e9d7c to your computer and use it in GitHub Desktop.
shellshock fix
```
brew update
brew install bash
sudo sh -c 'echo "/usr/local/bin/bash" >> /etc/shells'
chsh -s /usr/local/bin/bash
sudo mv /bin/bash /bin/bash-backup
sudo ln -s /usr/local/bin/bash /bin/bash
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment