A small C program written to learn the inner workings of the shell. Tested with
valgrind
for memory leaks on Ubuntu Linux 16.04.01.
make
./shell_sh
make
will create theshell_sh
binary.make clean
will clean all auxiliary files.make test
will test the binary with thetestinput.txt
file.make valtest
will test for memory leaks usingvalgrind
.
- Sample commands to test the
shell_sh
binary.
- The main executable.
- Built-in functionality for displaying and saving command history, changing directories, and piping commands.
- Header file with documentation.