shell using c and basic OS concepts