Purchase Solution

Linux Project. (Unable to install Red Hat Linux on my Computer)

Not what you're looking for?

Ask Custom Question

PLEASE RECORD ALL OUTPUT IN A WORD DOC
Project 2-9
Use vi to create a data file with records. You will then sort the data.

* Log in to the Linux system as a user, and then open a Terminal emulation window.
* Type mkdir Project2-9, and then press Enter.
* Type cd Project2-9, and then press Enter.
* Type vi infile.dat, and then press Enter. The vi editor opens.
* To insert text, press Esc, and then Type i.
* Enter the following text and make sure you press Enter at the end of each line. (Each row is considered an employee record with colons separating the fields. The first field is the employee number. The second field is the employee name, and the third field is the employee salary.)
* To save the file, press Esc, and then type the colon symbol (:). The cursor moves to the bottom of the screen with a colon to its left.
* To write the file, type wq!, and then press Enter. The prompt returns.
* Sort the data in ascending order by typing sort infile.dat, press
* Enter, and then record the output.
* Sort the data in descending order by typing sort -r infile.dat, press * Enter, and then record the output.
* Sort the data in descending order and redirect the output to another file by typing sort -r infile.dat > reverse_sort.dat, and then press Enter.
* Sort the data in ascending order, redirect the output to another file, and then record the command you used.
* Close your window, and then log out.

Project 2-10
You will use the files created in Project 2-10. Project 2-10 requires completion of Project 2-9.
* Log in to the Linux system as a user, and then open a Terminal emulation window.
* Type cd Project2-9, and then press Enter.
* Cut the first field.
* Cut the second field.
* Cut the third field.
* Cut both the first and third field and redirect the output to a new file named salary.dat.
* Make a duplicate of infile.dat by typing cp infile.dat infile2.dat, and then press Enter.
* Open the file named infile2.dat, and add five additional records. Add a sixth record that has your name. Also, create a fictitious employee number and employee salary to complete your record.
* Type diff infile.dat infile2.dat, and then press Enter. Record the output.
* Close your window, and then log out.

Attachments
Purchase this Solution

Solution Summary

The expert examines a Linus Project which is unable to install Red Hat Linux on a computer.

Purchase this Solution


Free BrainMass Quizzes
Basic Networking Questions

This quiz consists of some basic networking questions.

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.

C++ Operators

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

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.