Question: Please use Linux scripts or bash programming. This is Linux script class Assuming that you have a file comprising records (lines) for more than 100
Assuming that you have a file comprising records (lines) for more than 100 employees Each record includes: (1) employee first name, (2) employee last name, (3) employee hourly wages, and (4) number of hours that employee worked a current week. Write an awk program that Outputs the header information stating "The list of employees working 40 or more hours." Assigns ORS (Output Record Separator) to be a dash (i.e. Outputs last names and hours of all employees that worked 40 or more hours (note, print only the last names and number of hours worked) Outputs the number of employees that worked more than 40 hours (e.g., The total number of employees that worked 40 or more hours is: D
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
