m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--file-operations.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/file-operations.md b/file-operations.md
index 9ed0441..f9383c2 100644
--- a/file-operations.md
+++ b/file-operations.md
@@ -1,5 +1,10 @@
# General file operations and utilities
+## `ls`
+
+* `-S`: sort by file size (largest first)
+* `-r`: reverse sorting order
+
## `shred`
Overwrites a file repeatedly with random data, to prevent data recovery.