Operating System HW2 Re Creating  a terminal with bash commands using C