Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment 3 : Due date: April 9 , 1 1 : 5 9 PM Create Assigument 3 directory and perform all the following steps in

Assignment 3: Due date: April 9,11:59 PM Create Assigument 3 directory and perform all the following steps in it. Step 1: Create the following files Employee1.txt and Employee2.txt using ","(comma) as delimiter : Join the above two files using join command and append the result in Emp3.txt. Then cut the second and third column of Emp3.txt using cut command and store the result in emp_2_4.txt file. Print the Emp3.txt using pr command. Step 2: Sort the Employee2.txt based on the second column of the file and store the result in emp2_sort.txt file. Paste the Employee1.txt and Employee2.txt using paste command and redirect it to Emp4.txt file. Step 3: Create a file Contact.txt having following content name Mark address 123, avenue point, Toronto. PIN X23CDC Use sed and replace the value after the 'name' to John; and the value after the 'address' as 456, point avenue, circle point, Toronto. Redirect this output in Contact2.txt file. Step 4: Create a file data.txt having contents: Linux is a family of open-source software. Linux was used for personal computers. Linux is case sensitive. Use sed to Show the lines and the number of lines that do not contain word 'Linux' in that file. Use grep to Show the lines and number of lines that contain word 'free'. Use grep to show the lines that end with '
s
'. Use grep to show all the lines having a word starting with 'co'. Use sed to append the string 'Peter is my friend' after third line of data.txt. Append all the above created files in one file ASSIGN3.txt and email/dgra-drop it to yourself. Create a file that contains ALL commands used to produce this assignment called assign4_1.txt, then email yourself this file as well. Submit both the files on slate dropkox.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Why do we need benefi ts to be measureable?

Answered: 1 week ago

Question

5. Identify three characteristics of the dialectical approach.

Answered: 1 week ago

Question

7. Identify six intercultural communication dialectics.

Answered: 1 week ago