Dash is a POSIX compliant shell.
It can be installed as /bin/sh or as the default shell for either
root
or a second user with a userid
of 0. It depends on fewer libraries than the Bash shell and is therefore less likely to be
affected by an upgrade problem or disk failure. Dash is also useful for checking that a script
is completely compatible with POSIX syntax.
Download (HTTP): http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.4.tar.gz
Download MD5 sum: bc457e490a589d2f87f2333616b67931
Download size: 200 KB
Estimated disk space required: 1.8 MB
Estimated build time: 0.1 SBU
libedit (command line editor library)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/dash
Install Dash by running the following commands:
./configure --bindir=/bin --mandir=/usr/share/man && make
This package does not come with a test suite.
Now, as the root
user:
make install
If you would like to make dash the default sh, recreate the /bin/sh
symlink as the root
user:
ln -svf dash /bin/sh
--bindir=/bin
: This
parameter places the dash binary into the root
filesystem.
--with-libedit
: To compile Dash with libedit support.
Update /etc/shells
to include the
Dash shell by issuing the
following command as the root
user:
cat >> /etc/shells << "EOF"
/bin/dash
EOF
Last updated on 2008-05-09 07:42:27 -0500