Skip to main content
replaced http://security.stackexchange.com/ with https://security.stackexchange.com/
Source Link

I was trying to install home brew (I am new to the command line and was following some tutorials on how to get up and running with github).

So I was following this Unofficial Update Method: Compile Bash from Source Code using Homebrew (http://security.stackexchange.com/questions/68202/how-to-patch-bash-on-osx-in-wake-of-shellshockhttps://security.stackexchange.com/questions/68202/how-to-patch-bash-on-osx-in-wake-of-shellshock)

This is what I typed into the Terminal:

$ xcode-select --install

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

$ brew doctor

$ brew update

$ brew install bash

$ sudo mv /bin/bash /bin/bash_old

$ sudo mv /bin/sh /bin/sh_old

$ sudo chmod a-x /bin/bash_old /bin/sh_old

And now Bash doesnt work anymore :( When I open Terminal it displays this message:

You have new mail.
login: /bin/bash: No such file or directory
[Process completed]

I was trying to install home brew (I am new to the command line and was following some tutorials on how to get up and running with github).

So I was following this Unofficial Update Method: Compile Bash from Source Code using Homebrew (http://security.stackexchange.com/questions/68202/how-to-patch-bash-on-osx-in-wake-of-shellshock)

This is what I typed into the Terminal:

$ xcode-select --install

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

$ brew doctor

$ brew update

$ brew install bash

$ sudo mv /bin/bash /bin/bash_old

$ sudo mv /bin/sh /bin/sh_old

$ sudo chmod a-x /bin/bash_old /bin/sh_old

And now Bash doesnt work anymore :( When I open Terminal it displays this message:

You have new mail.
login: /bin/bash: No such file or directory
[Process completed]

I was trying to install home brew (I am new to the command line and was following some tutorials on how to get up and running with github).

So I was following this Unofficial Update Method: Compile Bash from Source Code using Homebrew (https://security.stackexchange.com/questions/68202/how-to-patch-bash-on-osx-in-wake-of-shellshock)

This is what I typed into the Terminal:

$ xcode-select --install

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

$ brew doctor

$ brew update

$ brew install bash

$ sudo mv /bin/bash /bin/bash_old

$ sudo mv /bin/sh /bin/sh_old

$ sudo chmod a-x /bin/bash_old /bin/sh_old

And now Bash doesnt work anymore :( When I open Terminal it displays this message:

You have new mail.
login: /bin/bash: No such file or directory
[Process completed]

deleted 10 characters in body
Source Link
DavidPostill
  • 158.5k
  • 77
  • 365
  • 408

I was trying to install home brew (I am new to the command line and was following some tutorials on how to get up and running with github).

So I was following this Unofficial Update Method: Compile Bash from Source Code using Homebrew (http://security.stackexchange.com/questions/68202/how-to-patch-bash-on-osx-in-wake-of-shellshock)

This is what I typed into the Terminal:

$ xcode-select --install

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

$ brew doctor

$ brew update

$ brew install bash

$ sudo mv /bin/bash /bin/bash_old

$ sudo mv /bin/sh /bin/sh_old

$ sudo chmod a-x /bin/bash_old /bin/sh_old

And now Bash doesnt work anymore :( When I open Terminal it displays this message:

You have new mail.
login: /bin/bash: No such file or directory
[Process completed]

Thanks :)

I was trying to install home brew (I am new to the command line and was following some tutorials on how to get up and running with github).

So I was following this Unofficial Update Method: Compile Bash from Source Code using Homebrew (http://security.stackexchange.com/questions/68202/how-to-patch-bash-on-osx-in-wake-of-shellshock)

This is what I typed into the Terminal:

$ xcode-select --install

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

$ brew doctor

$ brew update

$ brew install bash

$ sudo mv /bin/bash /bin/bash_old

$ sudo mv /bin/sh /bin/sh_old

$ sudo chmod a-x /bin/bash_old /bin/sh_old

And now Bash doesnt work anymore :( When I open Terminal it displays this message:

You have new mail.
login: /bin/bash: No such file or directory
[Process completed]

Thanks :)

I was trying to install home brew (I am new to the command line and was following some tutorials on how to get up and running with github).

So I was following this Unofficial Update Method: Compile Bash from Source Code using Homebrew (http://security.stackexchange.com/questions/68202/how-to-patch-bash-on-osx-in-wake-of-shellshock)

This is what I typed into the Terminal:

$ xcode-select --install

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

$ brew doctor

$ brew update

$ brew install bash

$ sudo mv /bin/bash /bin/bash_old

$ sudo mv /bin/sh /bin/sh_old

$ sudo chmod a-x /bin/bash_old /bin/sh_old

And now Bash doesnt work anymore :( When I open Terminal it displays this message:

You have new mail.
login: /bin/bash: No such file or directory
[Process completed]

I was trying to install home brew (I am new to the command line and was following some tutorials on how to get up and running with github).

So I was following this Unofficial Update Method: Compile Bash from Source Code using Homebrew (http://security.stackexchange.com/questions/68202/how-to-patch-bash-on-osx-in-wake-of-shellshock)

This is what I typed into the Terminal:

$ xcode-select --install

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

$ brew doctor

$ brew update

$ brew install bash

$ sudo mv /bin/bash /bin/bash_old

$ sudo mv /bin/sh /bin/sh_old

$ sudo chmod a-x /bin/bash_old /bin/sh_old

$ xcode-select --install

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

$ brew doctor

$ brew update

$ brew install bash

$ sudo mv /bin/bash /bin/bash_old

$ sudo mv /bin/sh /bin/sh_old

$ sudo chmod a-x /bin/bash_old /bin/sh_old

And now Bash doesnt work anymore :( When I open Terminal it displays this message:

You have new mail. login: /bin/bash: No such file or directory

[Process completed]

heeeeeeeeelp meeeeeeeeeee

You have new mail.
login: /bin/bash: No such file or directory
[Process completed]

Thanks :)

I was trying to install home brew (I am new to the command line and was following some tutorials on how to get up and running with github).

So I was following this Unofficial Update Method: Compile Bash from Source Code using Homebrew (http://security.stackexchange.com/questions/68202/how-to-patch-bash-on-osx-in-wake-of-shellshock)

This is what I typed into the Terminal:

$ xcode-select --install

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

$ brew doctor

$ brew update

$ brew install bash

$ sudo mv /bin/bash /bin/bash_old

$ sudo mv /bin/sh /bin/sh_old

$ sudo chmod a-x /bin/bash_old /bin/sh_old

And now Bash doesnt work anymore :( When I open Terminal it displays this message:

You have new mail. login: /bin/bash: No such file or directory

[Process completed]

heeeeeeeeelp meeeeeeeeeee

Thanks :)

I was trying to install home brew (I am new to the command line and was following some tutorials on how to get up and running with github).

So I was following this Unofficial Update Method: Compile Bash from Source Code using Homebrew (http://security.stackexchange.com/questions/68202/how-to-patch-bash-on-osx-in-wake-of-shellshock)

This is what I typed into the Terminal:

$ xcode-select --install

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

$ brew doctor

$ brew update

$ brew install bash

$ sudo mv /bin/bash /bin/bash_old

$ sudo mv /bin/sh /bin/sh_old

$ sudo chmod a-x /bin/bash_old /bin/sh_old

And now Bash doesnt work anymore :( When I open Terminal it displays this message:

You have new mail.
login: /bin/bash: No such file or directory
[Process completed]

Thanks :)

Source Link
Loading