mirror of
https://github.com/Erreur32/cheat.git
synced 2025-01-08 22:02:00 +01:00
commit
54547459b2
1 changed files with 11 additions and 0 deletions
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 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
|
Loading…
Reference in a new issue