Eric Martin wrote: > Actually, /bin/bash is a symlink -> /bin/dash on Ubuntu so dash (Debian > ash) is the default shell on Ubuntu (and either dash or ash is on > Debian). I found that out the hard way when I was scripting and some > bash stuff wouldn't work properly. >
No, /bin/bash is *always* bash on Ubuntu. You are probably thinking of /bin/sh, which is required to be a POSIX-compliant shell, such as dash or bash. On Ubuntu systems, /bin/sh is now provided by dash (by default). Debian also changed to using dash as /bin/sh fairly recently. -- Jonathan