User Tools

Site Tools


sort

Sort Command

Sorting based on numerical value:

| sort -n

Sorting based on human readable numbers (1K, 1M, 1G, 1T)
| sort -h

Sorting in reverse order
| sort -r

Sorting by Month/Year
| sort -M

Sorting by column or word position
| sort -k3




sort.txt · Last modified: 2024/05/23 07:26 by 127.0.0.1