I'm learning the Unix shell command language looking for a repository that contains the source code for the Almquist shell ("ash" / "dash") but I could not find it. Can you help me find the source? I'm looking for the source code to a minimal shell and it seems that the Almquist shell is one.


2 Answers 2


The two widely used variants of ash nowadays are dash, which has a repository on kernel.org, and the Busybox ash, which has its own repository.

The Almquist Shell variants page lists many variants and provides links to their source code, including the original post on Usenet.

  • 2
    FreeBSD and NetBSD sh's are two other main variants, dash started as a fork of NetBSD sh and still regularly pulls changes from FreeBSD or NetBSD shs. Commented Apr 18, 2016 at 16:13

The ash sources do not exist as a downloadable portable entity.

They only seem to exist in BSD specific trees that do not compile elsewhere.

Dash seems to be easy to find. Search for dash-0.5.8.tar.gz.

One of the results is: ftp://ftp.tuwien.ac.at/.vhost/www.linuxfromscratch.org/blfs/view/cvs/postlfs/dash.html

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .