Assignment for performing various tasks in a shell script