Text Processing
sort
Sorts lines of text files.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Verified: 2025-09-09
Syntax
$sort [OPTIONEN] [DATEI...]
Examples
$sort datei.txt
$sort -r datei.txt
$sort -n zahlen.txt
Typical use cases
?
Standard usage
sort --help
Note
Useful for organizing output.
Export