Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 404 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 404 Bytes

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