aboutsummaryrefslogtreecommitdiff
path: root/misc/notes.txt
diff options
context:
space:
mode:
Diffstat (limited to 'misc/notes.txt')
-rw-r--r--misc/notes.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/notes.txt b/misc/notes.txt
index e40dad8f..10a5729a 100644
--- a/misc/notes.txt
+++ b/misc/notes.txt
@@ -154,6 +154,13 @@ ll h*: Finds items in the directory starting with h
===========================================
+du -hms * | sort -n : Gives size used by different directories
+-h: human readable
+-m: in megabytes (default)
+-s: summarize
+
+===========================================
+
cp -a (archive; copies recursively and doesn't follow symbol links)
-i (interactive, prompts before overwrite)
-v (verbose)