/tcs-small-unix-shell

:wrench: Custom UNIX shell

Primary LanguageC

TCS - A small UNIX shell written in C.

Compile:

gcc tcsh.c -o tcsh
./tcsh

Some Commands:

"bg cmd" to run a process in background, EX: bg sleep 5
"processes" to view zombie threads
"exit" command exits the shell
"< >" redirection supported

Limitations & TODO:

  • Help menu for supported commands
  • SIGCHLD and signals to make background processes table current
  • Hotkey support
  • History table for commands

Example: