Search this blog

Thursday, February 18, 2010

dash shell

Just noticed that Ubuntu Server 9.10 has dash for default shell.

In case you're wondering what it is:
dash stands for Debian Almquist shell en is a POSIX-compliant implementation of /bin/sh that aims to be as small as possible. It does this without sacrificing speed where possible. In fact, it is significantly faster than bash (the GNU Bourne-Again SHell) for most tasks.
If you want to figure your current shell, the command is
echo $0

Changing the default shell can be done by the command  
ln -sf /bin/bash /bin/sh
-s symbolic links instead of hard links
-f force

Useful links:
http://en.wikipedia.org/wiki/POSIX

No comments:

Post a Comment