Skip to content

Instantly share code, notes, and snippets.

View syawin's full-sized avatar

Simon Yawin syawin

  • UnitedHealth Group
  • Boston, MA
View GitHub Profile
@syawin
syawin / shell.c
Created November 16, 2015 16:24 — forked from parse/shell.c
Simple shell in C
/* Compile with: g++ -Wall –Werror -o shell shell.c */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>