Skip to content

Instantly share code, notes, and snippets.

View tam5's full-sized avatar

Ari Miller tam5

  • NY
  • 16:47 (UTC -05:00)
View GitHub Profile
@tam5
tam5 / Shell.c
Created February 9, 2016 23:10
Basic Unix Shell with forks, pipes, and redirection
#include <sys/types.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <ctype.h>
#include <stdlib.h>