LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Putty sort list in descending order, and show command to display softlinks (https://www.linuxquestions.org/questions/linux-newbie-8/putty-sort-list-in-descending-order-and-show-command-to-display-softlinks-4175549065/)

erinprime 07-27-2015 11:53 AM

Putty sort list in descending order, and show command to display softlinks
 
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.

netnix99 07-27-2015 12:38 PM

This looks a lot like homework. About all I will say is look at the MAN pages and GOOGLE any terms you don't understand. I am all for helping someone learn, but I am NOT about earning someone's grade for them.

schneidz 07-27-2015 12:55 PM

Welcome to LQ! We'd very much like to help, but your current thread makes that difficult. Please visit http://www.linuxquestions.org/questi...#faq_lqwelcome for some additional information on how you can help us help you. If you have any questions or need additional clarification, just let us know.


All times are GMT -5. The time now is 06:12 AM.