Project #1 - bash.
Added on - 16 Sep 2019
Project #1 - bashUsing bash (not a higher level language), construct a program which manages customer files. Eachcustomer has a separate file. Your program will interactively manage customer accounts.Customer File ContentOne file per customer, named the customer's email addressEach customer file contains two records:1.Identification recordwhich has two attributes:Customer EmailCustomer Full Name2.Account recordwhich has four attributes:Apartment Number - format (APT-xx)Monthly Rent AmtAccount BalanceNext Due DateExample customer file contents:firstname.lastname@example.orgBill BoardAPT-5A 1100.00 0.00 2017-10-01Action MenuDisplay a menu which showsEnter one of the following actions or press CTRL-D to exit.C - create a customer fileP - accept a customer paymentF - find customer by apartment numberRead a one character action. Based on the action, do the following:C - CREATE - create a customer fileFrom the terminal, read (each from separate read requests)oCustomer EmailoCustomer Full NameoApartment NumberoMonthly Rent AmtoNext Due DateDefault the Account Balance to zeroCreate a new customer file using the customer's email as the file name. If thefile already exists, show an error message (and do nothing).Assume that each of the five attributes should be read before checking for priorexistence.P - PAYMENT - accept customer paymentFrom the terminal, readoCustomer EmailoPayment AmountUpdate the customer's file, adding the payment amount to the Account Balance