Question: 1. Write an interactive script using bash scripting to request the user to create a new record with values for - the employee id -

1. Write an interactive script using bash scripting to request the user to create a new record with values for - the employee id - the employee name - the department - the post The data values are stored into a text file called employee.txt

2. Enter a minimum of ten records into the file employee.txt

3. Write a script to read and display all the records from the file employee.txt

4. Write a command to search for all employees in the Sales department

5. Write a command to search for all employees working as Machinist

6. Write a command to search for employees whose names start with letter S.

7. Write a command to count the total number of employees stored in the file employee.txt.

8. Write a command to count the number of employees posted in the Sales department.

9. Record number 6 given in the screen shot above shows the department audit written with a lowercase letter a. Write a command to update the lowercase letter a into uppercase A.

10. Write a script with appropriate information messages to contain the commands from question 4 up to question 9.

1. Write an interactive script using bash scripting to request the user

EmployeelD12345678EmployeeNameLionelBeckhamDavidDuvalBenazirCheongSamanthaKounisMelanieBerengerSanjayGuptaJoannaHartePatrickHossenallyDepartmentSalesHRAuditProductionSalesauditHRSalesPostMarketingAssistantManagerComplianceofficerMachinistSalesOfficerAccountantConfidentialSecretaryDataEntryOfficer

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!