1.

Solve : Putty sort list in descending order, and show command to display softlinks?

Answer»

All I've had success with has been creating a students file USING cut and paste by right clicking. Do I use the cat or awk command for the rest of question A.)?

A.) Create this sample file, you can call it student grades

John Doe 3.54 ECE
James Davis 3.71 ECE
Al Davis 2.63 CS
Ahmad Rashid 3.74 MBA
Sam Chu 3.68 ECE
Arun Roy 3.06 SS
Rick Marsh 2.34 CS
James Adam 2.77 CS
Art Pohm 4.00 ECE
John Clark 2.68 ECE
Nabeel Ali 3.56 EE
Tom Nelson 3.81 ECE
Pat King 2.77 SS
Jake Zulu 3.00 CS
John Lee 2.64 EE
Sunil Raj 3.36 ECE
Charles Right 3.31 EECS
Diane Rover 3.87 ECE
Aziz Inan 3.75 EECS
Lu John 3.06 CS
Lee Chow 3.74 EE
Adam Giles 2.54 SS
Andy John 3.98 EECS

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.

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.

B.) How many SOFT links are there in the /usr directory. Show the command and its output.

Any suggestions would be greatly appreciated.
Quote

Any suggestions would be greatly appreciated.

Linux command line is most often used to manage files and start programs. An ANALYSIS of records in a file is more readily done by some type of database manager.

Linux users often use MySQL as a free database program. Support for the program is from volunteers. Here is an article about MySQL:

Create a MySQL Database on Linux via Command Line
More information can be found in many free tutorials about MySQL.

Hope this is of some help.This is homework. Try the man pages for awk, ls, FIND and grep.


Discussion

No Comment Found