I have to sort the GPA in a file for my class lab. The teacher uses putty, for those of us that chose to use Ubuntu in the class, we have no idea how to do the command for ascending sort and descending sort.
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
If you have a file like above. You can use the command below to sort by GPA. (change the key to sort by any field : '-k value')
If you want the reverse order use -r option
|
|||
|
|
|
PuTTy is just the program used to connect to a computer. There's a lovely command called Another Try |
|||
|
|