Repository files navigation
shell prompt
cd , echo, pwd commands
ls command with flags -l -a -la -al
background and foreground process
pinfo command
history n command
input output redirection
piping
piping with redirection
jobs handling (fg,bg,overkill,kjobs etc)
ctrl z and ctrl c signal handling
setenv and unsetenv
function to maintain an array of newly added background process
implementation of cd, pwd and echo command
implementation of setenv and unsetenv
implementation of history and history n command
implementation of jobs, kjobs, bg , fg and overkill commands
implementation of the ls command with its various flags
main shell file that in a while loop calls the prompt, gets input from user and checks for finished background process
parses the input based on tokenization, piping and redirection (;) and calls functions for the respective commands accordingly after parsing
implementation of the pinfo and pinfo pid command
About
A clone of the bash shell implemented in C with all standard commands along with features like piping , redirection and process handling.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.