mirror of
https://github.com/cheat/cheat.git
synced 2024-12-27 23:19:44 +01:00
12 lines
179 B
Plaintext
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
|