Sort lines of text files.
sort {path/to/file}
sort --reverse {path/to/file}
sort --ignore-case {path/to/file}
sort --numeric-sort {path/to/file}
/etc/passwd
by the 3rd field of each line numerically, using ":" as a field separator:
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 This content has been proxied by September (ba2dc).Proxy Information
text/gemini;lang=en-GB