Joe Schmoe said:
I just do "sudo bash".
For any newbies who aren't aware, /bin/sh is now the default shell (i.e., the command line interpreter, script execution environment, etc.) for Debian as of Squeeze for POSIX compliance, having been downgraded from bash (the historically-preferred shell), but, what a PITA.
bash is supposed to be the default interactive shell, but, when I accessed the Pi in the UK from California, it defaulted to sh everywhere. Naturally, I fixed that via chsh to and bash was available when I logged into another xterm or when I logged out and then logged back in via the same xterm.
Up/down arrow keys to browse command history and tab auto-completion don't work in sh (at least remotely accessing the UK Pi), the color-coded file types in bash are gone in sh, and all of the other features we Linuxen have grown to know and love in bash are pretty much not in sh. Talk about dumbing down to the lowest common denominator. Yeah, yeah, I know, sh is really meant for the system to use to execute scripts in a uniform way.
The best things in life aren't things ... but, a Pi comes pretty darned close!
"Education is not the filling of a pail, but the lighting of a fire." -- W.B. Yeats
In theory, theory & practice are the same - in practice, they aren't!!!