Sorting big file (10G)
问题 I'm trying to sort a big table stored in a file. The format of the file is (ID, intValue) The data is sorted by ID , but what I need is to sort the data using the intValue , in descending order. For example ID | IntValue 1 | 3 2 | 24 3 | 44 4 | 2 to this table ID | IntValue 3 | 44 2 | 24 1 | 3 4 | 2 How can I use the Linux sort command to do the operation? Or do you recommend another way? 回答1: How can I use the Linux sort command to do the operation? Or do you recommend another way? As others