Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Boot your install media, and undo the changes you made.
    – Zoredache
    Commented Sep 2, 2015 at 20:23
  • If you're using Grub loader, you can edit kernel command line (with 'e' key) and add init=/bin/sh_old
    – levif
    Commented Sep 2, 2015 at 22:11
  • @Zoredache how do i boot install media?
    – verity1007
    Commented Sep 2, 2015 at 22:27
  • 1
    You must write lines similar to sudo ln -s /usr/local/Cellar/bash/4.3.25/bin/bash /bin/bash (with the correct version of the installed bash and the correct path) else you will never find it. You moved and renamed bashand sh with different names (bash_old/sh_old) you miss to create the links.
    – Hastur
    Commented Sep 3, 2015 at 12:08
  • @Hastur I cant type anything into the terminal any more, is there any way I can install bash again?
    – verity1007
    Commented Sep 4, 2015 at 0:14