LinuxShellInC

Educational Linux shell in C implementing process control, redirection, and command orchestration.

Why I Built This

Operating systems concepts finally clicked for me when I stopped reading about shells and started building one. I created this project to get hands-on with process creation, signals, and I/O redirection at the system-call level. The goal was to turn core Unix internals into something interactive and concrete.

What It Supports

  • Prompt with working-directory context.
  • cd handling including parent traversal.
  • Sequential (&&) and parallel (&&&) command execution.
  • Signal handling (Ctrl+C, Ctrl+Z) without crashing the shell.
  • Basic stdin and stdout redirection with < and >.

Outcome

A compact but complete OS-course shell implementation that translates low-level system-call concepts into a working command interface.