From acb1a827eccf4a0bc1a42a6c705840759d4eb8ae Mon Sep 17 00:00:00 2001 From: Matthieu Keller Date: Sun, 8 Sep 2013 15:23:00 +0200 Subject: [PATCH] Create sort --- cheatsheets/sort | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cheatsheets/sort diff --git a/cheatsheets/sort b/cheatsheets/sort new file mode 100644 index 0000000..a7ace90 --- /dev/null +++ b/cheatsheets/sort @@ -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