Program 2 : pgm2Fcgs3767OS Class : CGS3767 Operating Systems Instructor : Michael Robinson e-mail : michael.robinson@cs.fiu.edu Worth 10 points For this assignment you can use your own laptop or the buffalo server provided by FIU. ALL WORK TO BE SUBMITTED IN CLASS OR THE LAB *** WORK DONE AT REMOTE LOCATIONS WILL NOT BE ACCEPTED *** - Go into your virtual machine and load up Ubuntu - Create a folder called : program2 - Move to your program2 folder - Download into the program2 folder this file: http://users.cis.fiu.edu/~mrobi002/downloads/pseudomonas_aeruginosa/pa01nov2006/NC_002516.gbk - *** All the following tasks MUST be done using Linux terminal commands as learned in class.*** *** No editors or IDEs *** a - Create a linux Script file called yourLastNameFirstNameInitialPgm2.sh b - Write the name of the file just created with all its atributes into a new file called stats.txt in the same directory where your *.sh program is located. c - Change access rigths as follows: chmod 755 yourLastNameFirstNameInitialPgm2.sh d - Again, write the name of the file just created with all its atributes into a file called stats.txt e - In the first line of the file yourLastNameFirstNameInitialPgm2.sh write: #!/bin/bash f - Using block comments add to your *.sh file, the following documentation: ********************************************************************* Author : Your Name Course : CGS 3767 days and time Professor : Michael Robinson Program # : Program Purpose/Description {A brief description of the program } Due Date : MM/DD/YYYY Certification: I hereby certify that this work is my own and none of it is the work of any other person. ********************************************************************* Using terminal mode, without any editors or IDEs, write inside your *.sh file all the commands needed, so that when you execute your *.sh file the following will be execute: g - Display program two Starting h - Create a directory called dna in your current directory i - Find out how many words, lines/row/records, and how many bytes are in the NC_002516.gbk file writing that information into a new file called dnaCount.txt to be located inside the dna folder. j - Display the first 5 lines of the dnaCount.txt file k Write the first 5 lines of the dnaCount.txt file to a new file named newFile.txt, in the current directory l - Using the cat command merge the following files: dnaCount.txt, NC_002516.gbk, newFile.txt into a new file called merged.txt in the dna folder. m - Write all records in the NC_002516.gbk file that contain the word tat in a new file named tatAmts.txt n - Count the amount of substrings ttt in the tatAmts.txt file, and merge totals to the merged.txt file o - Display the first 3 lines of the file merged.txt p - Display the last 3 lines of the file merged.txt q - display program two ended