Re: [aclug-L] Size of dir tree?
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi Greg,
On top of my head .. just glancing at the man page for du produced the
following
du -c -k -s /usr
du = disk usage
-c = total
-s = summarize
-k = gimme result in Kilobytes
/usr = the usr dir (replace it with your choice of dir)
(if your usr or var is mounted then df will show you total, used and
available size of a partition)
Hope this helps.
Later.
Besr,
Mohammed
Greg House wrote:
>
> This is a pretty basic question, but I haven't been able to easily find the
> answer. How do you get the total size of a directory tree. For example, if
> one were repartitioning and wanted to know the size of /usr or /var, how
> would you get it?
>
> Thanks,
> Greg
>
> ---
> This is the Air Capital Linux Users Group discussion list. If you
> want to unsubscribe, send the word "unsubscribe" to
> aclug-L-request@xxxxxxxxxxxx. If you want to post to the list, send your
> message to aclug-L@xxxxxxxxxxxx.
---
This is the Air Capital Linux Users Group discussion list. If you
want to unsubscribe, send the word "unsubscribe" to
aclug-L-request@xxxxxxxxxxxx. If you want to post to the list, send your
message to aclug-L@xxxxxxxxxxxx.
|
|