How banu-prasanth-pulicharla/custom-shell-creation works
This is a small educational command shell. The user enters commands; the shell reads and tokenizes them, dispatches built-ins or launches external commands, and waits or returns to the prompt according to foreground/background mode. Built-ins include job listing, foregrounding, and termination; launched commands support input and output redirection. The README also mentions pipelines, but the source labels that logic incomplete and does not call it. The map reflects the single sampled source file.
Main entry points: customshell.c Prompt loop
Components 9
Shell interface
- Prompt loop
customshell.c - Command input
customshell.c
Command runtime
- Tokenizer
customshell.c - Command dispatch
customshell.c - Job control
customshell.c - Command executor
customshell.c
System resources
- Process services
- Filesystem
Other components
- Shell user
Connections 9
- Shell user → Prompt loop: enters commands
README.md - Prompt loop → Command input: reads input
customshell.c - Command input → Tokenizer: tokenizes line
customshell.c - Prompt loop → Command dispatch: dispatches command
customshell.c - Command dispatch → Job control: handles built-ins
customshell.c - Command dispatch → Command executor: launches command
customshell.c - Command executor → Process services: forks and waits
customshell.c - Job control → Process services: signals and waits
customshell.c - Command executor → Filesystem: redirects streams
customshell.c