0

Hi,

I have installed ubuntu 11.10 on my PC and the default shell i got was dash
i found it out by

ll /bin/sh

But i could not run some of the scripts and thought of changing the shell to bash.

so i did,

cd /bin
rm dash
unlink dash

rm dash was success, but when i try to unlink dash i got message

link: cannot unlink `dash': No such file or directory
i got the same before using rm dash also

so i used

     ln -s /bin/sh bash

ln: creating symbolic link `bash': File exists

then i did

 sudo unlink /bin/sh

after the step sh was removed from /bin.

i downloaded bash-4.0.tar.gz from http://ftp.gnu.org/gnu/bash/ and tried to configure , but again i got

bash: ./configure: /bin/sh: bad interpreter: No such file or directory

please let me know how to solve this problem.

i need to install bash .

2
Contributors
2
Replies
12
Views
3 Years
Discussion Span
Last Post by rch1231
0

I have reinstalled the OS, and

cd /bin
sudo rm sh
sudo ln -s bash sh

now my /bin/sh is bash.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.