Alphabetical Listing of Text
I have a text file with the names of a bunch of people. How can I make it so that they are listed alphabetically from their last name?
For example: George Washington George Bush Richard Nixon I want that to become: George Bush Richard Nixon George Washington |
providing everyone has only a first and a surname just use
Code:
sort +1 filename Code:
sort -k 2 filename' Mingus |
All times are GMT -5. The time now is 09:51 AM. |