cheat/cheatsheets/sort

12 lines
181 B
Plaintext
Raw Normal View History

2013-09-08 15:23:00 +02:00
# To sort a file:
sort file
# To sort a file by keppeing only unique:
sort -u file
# To sort a file and reverse the result:
sort -r file
# To sort a fiule randomly:
sort -R file