10
I would like to see the total disk usage for myself on a particular file system. I executed the command
du -h ~my_user_name
However, this lists every directory owned by my_user_name
. I would like to get the sum total of all of this information. What is the appropriate option to pass? I tried
du -h -c ~my_user_name
but that did not work.
+1 good point, thanks! the answer below actually was exactly what i wanted. the user/folder distinction doesn't matter that much in my case – Alex – 2013-05-18T20:48:09.353
Nice.
du -sch
is an easy command often used. Tracking down who owned what when things were mixed is a lot harder though it can be done as a one liner. I used it once, but I had trouble reconstructing it today. – Hennes – 2013-05-18T20:55:59.530Helped me a lot, Perfect Explanation – Babin Lonston – 2014-03-29T08:07:22.200