I have recently installed ubuntu hardy and found that shell command completion with TAB doesn't work, the package 'bash-completion' is installed in my system. I guess it is related to dash being the default shell? Is there a way to use tab completion in dash? If there isn't a way then how can i change my default shell to bash?
Dash shouldn't be the default user shell. That would make life much less convenient, because bash is way more usable in interactive sessions. You can check what shell you're actually running with echo $SHELL
.
Have a look at /etc/bash.bashrc
around line 32. Uncomment the enabling configuration.
~/.bashrc
— Oct 24, 2009 at 18:27