Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Putty sort list in descending order, and show command to display softlinks  (Read 8386 times)

0 Members and 1 Guest are viewing this topic.

erinprime

    Topic Starter


    Greenhorn

    • Experience: Beginner
    • OS: Windows 7
    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 Edit: July 27, 2015, 11:01:12 AM by erinprime »

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: Linux putty, non user interface
    « Reply #1 on: July 27, 2015, 10:48:22 AM »
    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.

    Salmon Trout

    • Guest
    This is homework. Try the man pages for awk, ls, find and grep.