mirror of
https://github.com/cheat/cheat.git
synced 2025-07-22 21:51:46 +02:00
Create sort
This commit is contained in:
11
cheatsheets/sort
Normal file
11
cheatsheets/sort
Normal file
@ -0,0 +1,11 @@
|
||||
# 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
|
Reference in New Issue
Block a user