Implementation of the basic unix commands using c