Task4 with bash