Frequent Question: How Do You Sort a Third Column in Unix?
Contents How Do I Sort a Specific Column in Unix? -K Option: Unix Provides the Feature of Sorting a Table on the Basis of Any Column Number by Using -K Option...
Contents
How do I sort a specific column in Unix?
-k Option : Unix provides the feature of sorting a table on the basis of any column number by using -k option. Use the -k option to sort on a certain column. For example, use “-k 2” to sort on the second column.
Must Read
How do I sort multiple columns in Unix?
Sorting by multiple columns is similar to sorting by a single column. To sort on a range of columns, simply specify the start and end columns in the column range to use for sorting.