Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Recommended Textbook for

JDBC Database Programming With J2ee

Authors: Art Taylor

1st Edition

0130453234, 978-0130453235

More Books

Students also viewed these Databases questions