It's a basic shell written in C.
- cd.c : Implements the
cd
function - cmdhandle.c : Handles comparison of input string with the functions
- cwd.c : Implements the
pwd
function - echo.c : Implements the
echo
function - ls.c : Implements the
ls
function - main.c : Wraps all the components together and contains shell loop
- parse.c : Tokenizes the input string
- pinfo.c : Implements the
pinfo
function - prompt.c : Prepares and asks for the prompt
- bg.c : Implements the
bg
function - fg.c : Implements the
fg
function - env.c : Implements the
setenv
andunsetenv
function - jobs.c : Implements the
jobs
function - kjob.c : Implements the
kjob
function - list.c : Contains the structs for Nodes and Processes
- overkill.c : Implements the
overkill
function - sighandle.c : Contains code for signal handling
- Supports background processes
- Supports Ctrl + C and Ctrl + D functionality
- Type
make
. - Then type
./dash
to run the shell. - Type
quit
to exit the shell. You can also press Ctrl + D to quit the shell.