Sort lines of text. Add -n for numeric order or -r for reverse order.
sort -n scores.txtLINUX COMMAND ATLAS · COMMAND GUIDE
Sort lines of text. Add -n for numeric order or -r for reverse order.
GNU Coreutilssort [OPTION]... [FILE]...
Sort lines of text. Add -n for numeric order or -r for reverse order.
sort -n scores.txtSort colon-separated records by their third field numerically.
sort -t: -k3,3n /etc/passwdLocale affects collation. For reproducible byte-oriented ordering, set LC_ALL=C; use -o when writing output to the input file.