Question: Linux Bash Create a logfile bash file that has the following data on each line of the file (fields separated by |): user name |
Linux Bash
Create a logfile bash file that has the following data on each line of the file (fields separated by |): user name | process name | process time (in minutes)
eg:
smiths|Login|2 olivert|Login|2 northj|Login|2 denniss|Login|2 smithd|Login|2 smiths|Time Reporting|210 olivert|Payroll|155 northj|Server Maintenance|70 northj|Logfile Reporting|45 denniss|Report Printing|80 smithd|Payroll Program Updates|150 smithd|Benefit Program Updates|180 smiths|Logout|2 olivert|Logout|2 northj|Logout|2 denniss|Logout|2 smithd|Logout|2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
