Skip to content

preraks116/gibberish

Repository files navigation

gibberish

Shell implemented in C

Running the shell

Execute the following commands

make
./gibberish

To clear the history

make clean

Files

gibberish
├── Makefile
├── README.md 
├── a.out
├── gibberish
├── arrowkey.c      - has functions that are used to implement ↑ key functionality 
├── cd.c            - has functions that are used to implement cd command
├── echo.c          - has functions that are used to implement echo command
├── history.c       - has functions that are used to implement history command
├── pwd.c           - has functions that are used to implement the pwd command
├── repeat.c        - has functions that are used to implement repeat command
├── extcmd.c        - has functions that are used to handle external commands and bg processes
├── ls.c            - has functions that are used to implement ls command
├── pinfo.c         - has functions that are used to implement pinfo command
├── main.h          - has all the required header files and functions
├── prompt.c        - has functions that are used to display the prompt
├── finishbg.c      - has functions that are used to handle bg processes that have finished
├── mainbackup.c    - just in case something goes wrong
├── main.c          - contains the main function that runs the entire shell
├── baywatch.c      - has functions that are used to implement baywatch command
├── bg.c            - has functions that are used to implement bg command
├── fg.c            - has functions that are used to implement fg command
├── inputredir.c    - has functions that are used to implement input-output redirection
├── jobs.c          - has functions that are used to implement jobs command
├── pipe.c          - has functions that are used to implement piping
├── replay.c        - has functions that are used to implement replay command
├── sig.c           - has functions that are used to implement sig command
├── signalhandler.c - has functions that are used to implement signal handlers(ctrl+Z, ctrl+C, ctrl+D)
└── history.txt     - has history saved

About

Shell implemented in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published