I've used the last week or so programming a simple shell in c, for now it features some internal commands like cd, ls, environ, help, quit, etc.

One of the big challenges in the future of the project is to make it compile on more systems than linux, for instance if reads the absolute executable path with readlink() from /proc/pid/exe, which is very specific.

The shell should still be filled with bugs here and there, I'll start bug hunting tomorrow.

you can find the project on git as usual, keep in mind that I use cmake instead of autotools.

source: https://bitbucket.org/dennishedegaard/sash