Sort is a Linux program used for printing lines of input text files and concatenation of all files in sorted order. Sort command takes blank space as field separator and entire Input file as sort key. It is important to notice that sort command don’t actually sort the files but only print the sorted output, until your redirect the output.
This article aims at deep insight of Linux ‘sort‘ command with 14 useful practical examples that will show you how to use sort command in Linux.
Full articles from Tecmint here:
14 Useful Examples of Linux ‘sort’ Command – Part 1
7 Interesting Linux ‘sort’ Command Examples – Part 2