sort

Sort lines of text files.
More information.
sort {path/to/file}
sort --reverse {path/to/file}
sort --ignore-case {path/to/file}
sort --numeric-sort {path/to/file}
sort --field-separator={:} --key={3n} {/etc/passwd}
sort --unique {path/to/file}
sort --output={path/to/file} {path/to/file}
sort --general-numeric-sort {path/to/file}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY