sort :- The sort command is a utility used in Unix and Unix-like operating systems to sort the lines of a file or input in either ascending or descending order. It takes input from a file or standard ...
The sort command in Unix and Unix-like operating systems (such as Linux and macOS) is used to sort the lines of text files. This document explains the usage of the command sort -rnk3 file in detail.