Thanks for your scrupulous attitude.

$ ls -l /bin/sh /bin/bash /bin/dash
-rwxr-xr-x 1 root root 1029624 Aug 22 05:15 /bin/bash
-rwxr-xr-x 1 root root  117176 Jan 10  2014 /bin/dash
lrwxrwxrwx 1 root root       9 Sep 13 17:48 /bin/sh -> /bin/bash

Now it is sane, the mistake came at the first place was due to my slip
in treating 'ln -sf /bin/sh /bin/bash' and then I realized that
mistakes but unconsciously still possess enough amount of intuition to
repeat this mistake.

Have a nice weekend,

P.S. I have some lousy code, which complained the 'sh: Syntax error:
Bad fd number', which drove me to compromise to link the sh with the
bash, not dash.

On Sat, Sep 13, 2014 at 11:06 PM, Clive Standbridge
<list-u...@tgstandbridges.plus.com> wrote:
>> 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
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: https://lists.debian.org/20140913150638.GA11020@rimmer.localdomain
>


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cag9cjmmmbh+cos7wci5xk8bewn-4uracuxffidpwxh9eo_j...@mail.gmail.com

Reply via email to