sort

From wikieduonline
Jump to navigation Jump to search

sort command included in coreutils package

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: