Computer Science, asked by ggggggggggg8498, 10 months ago

How to sort a file by a column in the file in unix?

Answers

Answered by rishika6981
0

Answer:

-n : Makes the program sort according to numerical value.

-k opts: Sort data / fields using the given column number. For example, the option -k 2 made the program sort using the second. column of data. The option -k 3,3n -k 4,4n sorts each column. First. it will sort 3rd column and then 4th column.

Similar questions