Purchase Solution

UNIX Commands and Employee Names

Not what you're looking for?

Ask Custom Question

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. ******

Purchase this Solution

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.

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

C# variables and classes

This quiz contains questions about C# classes and variables.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.