/small-shell

A small shell implementation

Primary LanguageC

Small Shell

Introduction

A small shell implementation. Features include:

  • A prompt
  • Blank lines and comments
  • Variable expansion of $$ into the current process ID
  • Built-in exit, cd, and status functions
  • I/O redirection
  • Foreground and background processes
  • Custom handlers for SIGINT and SIGTSTP

Compilation

gcc --std=gnu99 -g -o small-shell small-shell.c