Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 611 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 611 Bytes

C-Shell

Programming Shell using c language

for executing :- gcc -g echo.c main.c pwd.c shellprompt.c changedir.c token.c ls.c history.c pinfo.c discover.c system_commands.c -o main (mentioned in makefile)

The following are done in this project :-

  • commands :- cd , pwd, echo , ls
  • foreground , background processes
  • pinfo command
  • discover command
  • history :- it stores max 20 commands and outputs last 10 commands entered when history command was entered
  • input/output redirection and pipes
  • user defined commands :- sig , jobs , fg , bg
  • signal handling :- control C , control D