cheat-fork-echo/cheatsheets/sort
Matthieu Keller d4a40a9b20 Update sort
2013-09-08 15:43:25 +02:00

12 lines
179 B
Plaintext

# To sort a file:
sort file
# To sort a file by keeping only unique:
sort -u file
# To sort a file and reverse the result:
sort -r file
# To sort a file randomly:
sort -R file