Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

pls show steps The file above contains student records. Use a command line to display the records for the top five students in descending (sorted)

image text in transcribed

pls show steps

The file above contains student records. Use a command line to display the records for the top five students in descending (sorted) order, i.e., with the highest GPA student's record displayed first. Show your session 2. Create sample files lab1, lab2, lab3 and lab4. They can be created using vi, or doing something like who > lab1, etc. Once you have created the file, display its content with the cat command. Show your session. Combine the lab files: labi, lab2, lab3, and lab4 appending them >> to a file called all.labs . Any errors (pretend one of those lab files do not exist) should be redirected to an error.log file. Since you will have all the files, once you redirect the error 2>, assume that you do not have one of the files that consequently would generate an error, in this case the error.log file will be empty, but to build the command include the 2> as if one of the files did not exist. This whole command will be in one line. Show your session. 3. How many soft links are there in the /usr directory. Show the command and its output. Create a file named students containing the following data in your current directory. Each line in this file represents a student's first name, last name, and 3 exam scores. Each line should be regarded as a record containing 5 fields separated by one or more tab characters. You must use the awk command to answer the questions below Tom Jones 100 90 80 Nancy Jones 70 80 90 Terry Sims 55 65 75 John Terry 75 76 77 Ruth Maier 100 100 100

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essential SQLAlchemy Mapping Python To Databases

Authors: Myers, Jason Myers

2nd Edition

1491916567, 9781491916568

More Books

Students also viewed these Databases questions

Question

Discuss the importance of patient education.

Answered: 1 week ago

Question

How much access do people have to internet and e-mail?

Answered: 1 week ago

Question

Explain in detail the developing and developed economy of India

Answered: 1 week ago

Question

Problem: Evaluate the integral: I = X 52+7 - 1)(x+2) dx

Answered: 1 week ago

Question

What is gravity?

Answered: 1 week ago

Question

What is the Big Bang Theory?

Answered: 1 week ago