# Sort ## TL;DR ```shell # Sort all given lines. sort path/to/file # Sort all lines reverse. sort -r path/to/file # Sort lines numerically. sort -n path/to/file # Sort lines and remove duplicates. sort -u path/to/file ```