Google search bar

October 08, 2009

In Ubuntu, sh is dash, not bash

I've been trying to install IBM Websphere Application Server 6.1 on Ubuntu 9.04 AMD64. The installer kept failing. I found this post that clued me in that in Ubuntu /bin/sh is a symbolic link to /bin/dash (a faster, smaller shell apparently). The association of sh can be changed from dash to bash as follows:
unlink /bin/sh
ln -s /bin/sh bash
after doing this the installer worked just fine.

Should you desire, you can switch back to dash. Just run the above commands substituting 'dash' for 'bash' in the second one.

Here is more information on the sh-as-dash 'feature' of Ubuntu.

No comments: