Skip to content

Instantly share code, notes, and snippets.

View Sanda91's full-sized avatar

Sandaruwan Gunasinghe Sanda91

  • Techsurge Innovations
  • Sri Lanka
View GitHub Profile
@Sanda91
Sanda91 / shell.c
Created April 18, 2013 16:52 — forked from parse/shell.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>