BCS 215: UNIX Operating Systems CRN 61998…

BCS 215: UNIX Operating Systems CRN 61998 Summer 2018 —————————————————————————————————————————————————————– Homework Assignment 2 Due Monday, June 11, 2018, 11:59PM on Blackboard —————————————————————————————————————————————————————– Assignment Goals: To learn to use UNIX/Linux utilities and commands to process data in text files. Tasks: 1. In your home directory, make a directory called hw2 and change to the hw2 directory. 2. Use the vi editor to create a file named students which contains the following text (The fields of the record are student ID, student last name, first name, and course ID): S001:Jones:Nancy:C410 S004:Mitchell:Barbara:C206 S003:Lieberman:Timothy:C304 S005:Moore:Sarah:C203 S002:Polk:Christian:C101 S006:Jacobs:Paula:C203 S005:Moore:Sarah:C304 3. Use the vi editor to create a file named instructors which contains the following text (The fields are the instructor’s last name, first name, course ID, and course name): Brown:Alice:C203:Java Programming Calvin:David:C101:Introduction to Computer

Document Preview:

BCS 215: UNIX Operating Systems CRN 61998 Summer 2018 —————————————————————————————————————————————————————– Homework Assignment 2 Due Monday, June 11, 2018, 11:59PM on Blackboard —————————————————————————————————————————————————————– Assignment Goals: To learn to use UNIX/Linux utilities and commands to process data in text files. Tasks: 1. In your home directory, make a directory called hw2 and change to the hw2 directory. 2. Use the vi editor to create a file named students which contains the following text (The fields of the record are student ID, student last name, first name, and course ID): S001:Jones:Nancy:C410 S004:Mitchell:Barbara:C206 S003:Lieberman:Timothy:C304 S005:Moore:Sarah:C203 S002:Polk:Christian:C101 S006:Jacobs:Paula:C203 S005:Moore:Sarah:C304 3. Use the vi editor to create a file named instructors which contains the following text (The fields are the instructor’s last name, first name, course ID, and course name): Brown:Alice:C203:Java Programming Calvin:David:C101:Introduction to Computers Capra:John:C304:Algorithms Drew:Justin:C301:Data Structures Miller:Richard:C206:Computer Networks Sanders:Selina:C410:Computer Architecture 4. Write commands to combine the above two files and generate a file student_instructor that contains student’s ID, last name, first name, course ID, course name, instructor’s last name and first name. Hints: Identify the common field of the two files. Sort each file on the common field and save the result to a new file. Use the join command to combine the two sorted files. 5. Output the contents of the student_instructor file on the screen. Hints: Use the echo command to output a prompt or an empty line. 6. Sort the file student_instructor…

Save your time - order a paper!

Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines

Order Paper Now

Attachments:

 

"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"