Skip to content

saiharshavellanki/Basic-Unix-Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Things implemented
1)output redirection if command is of the form b > c as well as b>c i.e with spaces and without spaces before and after greater than.Similarly >>,< are also implemented.syscall used is dup2
2)piping is implemented using pipe syscall.
3)redirection+piping is implemented
4)jobs,kjob,fg,killallbg,quit,ctrl-z,ctrl-d,ctrl-c are implemented
5)Implemented some colors to prompts,errors

break.c contains functions related to breaking command
commands.c contains functions related to executing command
list.c contains functions like adding and deleting a node in linkedlist
shell.c contains int main


run make command and run ./shell to start the shell

About

Implementation of a basic unix shell in C language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published