[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: how to reinstall bash



> Done by following the link:
> http://ubuntuforums.org/showthread.php?t=1618902
> namely,
> 
> 1] ln -sf /bin/sh /bin/bash

That is an unfortunate mistake; the link name and target are the wrong
way round. It will make /bin/bash into a symbolic link when it should
be an ELF binary.

> 2] apt-get install --reinstall bash

I'm not sure whether that would repair the damage caused by [1]. To
check, please run this command and paste the output into your reply:

ls -l /bin/sh /bin/bash /bin/dash


-- 
Cheers,
Clive


Reply to: