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.
This package is known to build and work properly using an LFS-8.0 platform.
Download (HTTP): http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.9.1.tar.gz
Download MD5 sum: 6472702a8d9760d166ef8333dcb527a6
Download size: 220 KB
Estimated disk space required: 2.8 MB
Estimated build time: less than 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
If you would like to make dash the default sh, recreate the
/bin/sh symlink as the
If you create the symbolic link from dash to sh, you will need to reset the link to bash to build LFS.
ln -svf dash /bin/sh
parameter places the dash binary into the root
--with-libedit: To compile Dash with libedit support.
/etc/shells to include the
Dash shell by issuing the
following command as the
cat >> /etc/shells << "EOF"
Last updated on 2017-02-15 21:06:46 -0600