Unix // Task is to create a script that authenticates auser:
A. Prompt user for userID
B. Verify ID exists in an external file
C. If name doesn’t exist, allow user to try again. Then allowsthe user to accomplish one of 3 tasks:
1. List all cities in DC_Area file Output should contain citynames only Output should only contain unique records Output shouldbe sorted in alphabetical order
2. Search the DC_Area file for locations in a specific cityPrompt user for City name Search DC_Area file for value entered Ifnot found, display error message If found, show all records,including Store Name, Address, Phone No.
After one of the first two options are used, prompt the user ifthey want to return to the menu, then redisplay the menu.
Answer to Unix // Task is to create a script that authenticates a user: A. Prompt user for userID B. Verify ID exists in an extern…