Shell implementation in C with python embedding
gcc compiler
Python 2.7
- Basic commands:
exit,ls,pwd,clearandcd - Program invocation with forking and child processes
- Aliasing Feature
- I/O redirection (use of
dup2system call) limited to the following:
<cmd> <args> > <output>
<cmd> <args> < <input> > <output> - Background execution of programs with
& - Piping implemented (
<cmd1> | <cmd2>) viapipeanddup2syscalls. Multiple piping is allowed. - Editor implemented. Type
editorin the shell to enable text editor feature. - Custom functions implemented like
primefindlookforTest
gcc shell.c