LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-27-2015, 11:53 AM   #1
erinprime
LQ Newbie
 
Registered: Jul 2015
Posts: 1

Rep: Reputation: Disabled
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.

Last edited by erinprime; 07-27-2015 at 12:03 PM. Reason: Clarity
 
Old 07-27-2015, 12:38 PM   #2
netnix99
Member
 
Registered: Jun 2011
Distribution: redhat, CentOS, OpenBSD
Posts: 298

Rep: Reputation: 99
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.
 
Old 07-27-2015, 12:55 PM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to sort a list in decending order drone01 Linux - Newbie 9 09-29-2011 06:10 AM
KDE Konsole sort order and 'show in menu' rpedrica Slackware 2 07-15-2010 10:24 AM
[SOLVED] Sort in descending order according to a column of an array flea89 Linux - Newbie 3 03-14-2010 06:00 PM
how to list folder size in descending order ? Winanjaya Linux - Server 2 02-09-2010 12:32 AM
php sort help - sort numerical descending then by alphabetical? RavenLX Programming 3 03-11-2009 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration