Skip to content

jakobjpeters/small-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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

About

A small shell implementation

Resources

Stars

Watchers

Forks

Languages