Question: Complete these steps: Navigate to your home directory. Create a directory named Module 1 5 . Navigate to that directory. Create a colon - delimited

Complete these steps:
Navigate to your home directory.
Create a directory named Module15.
Navigate to that directory.
Create a colon-delimited payroll.dat file with this structure EmpID:LastName:FirstName:Salary
Insert five employee records into the file . The 3rd line must be: 100A:Smith:Thomas:56000. The remaining ones can be with data of your choice.
Use sed to display Thomas Smith's data by Thomas' EmpID.
Use sed to display the 4th and 5th records only.
Use awk to display all records with a Salary greater-then $50,000.
Use sed to delete Thomas' data. Use awk to create a report showing the employee's first name and their salary. Create a heading report entitled "Employee Salary Report."

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!