#!/bin/bash rm DiningPhilosophers.out gcc DiningPhilosophers.c -o DiningPhilosophers.out 2> crashCompile.log ./DiningPhilosophers.out 5 > output.log 2> crashLaunch.log