7 Operating on sorted files

These commands work with (or produce) sorted files.

sort invocation    Sort text files.
shuf invocation    Shuffle text files.
uniq invocation    Uniquify files.
comm invocation    Compare two sorted files line by line.
ptx invocation    Produce a permuted index of file contents.
tsort invocation    Topological sort.