m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/file-operations.md
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2026-06-03 18:38:18 +0200
committerMarcin Chrzanowski <m@m-chrzan.xyz>2026-06-03 18:38:18 +0200
commitb763b60e3385e9027fe3cbeaa006f1c48ddef756 (patch)
tree2f98c2bc99fe5c660d5b3e940ed6ecdcb8a94e66 /file-operations.md
parentbe50ae0bb839cb04d79613bc8cdd7b3dffde43b8 (diff)
Add ls flagsHEADmaster
Diffstat (limited to 'file-operations.md')
-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.