Difference between revisions of "Sort"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 14: | Line 14: | ||
== Related == | == Related == | ||
* <code>[[tsort]]</code> | * <code>[[tsort]]</code> | ||
+ | * <code>[[jq]] '[[sort_by]](.your_field) | reverse'</code> | ||
== Activities == | == Activities == |
Latest revision as of 18:27, 30 September 2022
sort
command included in coreutils
package
Contents
Examples[edit]
sort -rnk2
find . -ls | sort -rnk7 | more
- Sort by last column:
cat file | awk '{print $NF,$0}' | sort -rn | cut -f2- -d' '
Errors[edit]
sort: write failed: /tmp/sortXksILS: No space left on device
Related[edit]
Activities[edit]
See also[edit]
Advertising: