Skip to content

Shell implementation in C with python embedding

Notifications You must be signed in to change notification settings

tulikaiam/Shell-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell

Shell implementation in C with python embedding

Requirements

gcc compiler
Python 2.7

Features

  • Basic commands: exit,ls, pwd, clear and cd
  • Program invocation with forking and child processes
  • Aliasing Feature
  • I/O redirection (use of dup2 system call) limited to the following:
    <cmd> <args> > <output>
    <cmd> <args> < <input> > <output>
  • Background execution of programs with &
  • Piping implemented (<cmd1> | <cmd2>) via pipe and dup2 syscalls. Multiple piping is allowed.
  • Editor implemented. Type editor in the shell to enable text editor feature.
  • Custom functions implemented like prime find lookfor Test

gcc shell.c

About

Shell implementation in C with python embedding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published