Explore BrainMass

UNIX Commands and Employee Names

You have a file called records.txt containing the list of employee id and employee names. Every line contains a single employee id immediately followed by (that means no space) the employee name in the format "Last name, First name". The employee id is always five characters long. An example of two lines are as follows:
A0001Smith, John
A0002Joseph, Sheryl

Now, in this scenario, you would like to echo to the monitor just the names of the employees alone in the same order listed in the file. Give the UNIX command to perform this task.

***** If you can guide me in the right direction with the commands I can test on my UNIX system. ******

Solution Summary

This solution contains a UNIX command that performs the task of producing the format of last name, and first name in a generated list.