We are all familiar with the Bourne Again SHell, but there are two other user interfaces that are considered useful modern shells -- the Berkeley Unix C shell and the Korn shell. This chapter installs packages compatible with these additional shell types.
ash is a shell that is the most compliant with the Bourne Shell (not to be confused with Bourne Again SHell i.e., Bash installed in LFS) without any additional features. Bourne Shell is available on most commercial UNIX systems. Hence ash is useful for testing scripts to be sh-compliant. It also has a small memory and space requirements compared to the other sh-compliant shells.
Download MD5 sum: 1c59f5b62a081cb0cb3b053c01d79529
Download size: 118 KB
Estimated disk space required: 2.2 MB
Estimated build time: 0.06 SBU
Install ASH by running the following commands:
patch -Np1 -i ../ash-0.4.0-cumulative_fixes-1.patch && make
Now, as the root user:
install -m 755 sh /bin/ash && install -m 644 sh.1 /usr/share/man/man1/ash.1
If you would like to make ash the default sh shell, make a symlink.
ln -sf ash /bin/sh