Jump to content

Talk:du (Unix)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Error?

[edit]

The entry

The weight of directories:
$ du -d 1-c -h

does not work on a fedora system ? --Anon. does not work on ubuntu either... —Preceding unsigned comment added by 137.120.180.34 (talk) 09:31, 17 December 2007 (UTC)[reply]

I wonder if what was meant was was
The weight of directories:
$ du -D */ -c -h
--Gwern (contribs) 19:47 24 January 2007 (GMT)

This should mention what the default unit of disk space is. Is is 512 bytes? 98.207.58.135 (talk) 13:25, 21 February 2008 (UTC)[reply]

More general command

[edit]

The command

 $ du -sk .[!.]* *| sort -n

does not always work because the '!' is interpreted as a shortcut to another command in some shells. I suggest replacing it with '^' which works more often. Neptilo (talk) 11:36, 20 January 2013 (UTC)[reply]

Suspected author misspelling

[edit]

One of the authors is listed as "Torbjorn Granlund" but I was wondering if his actual name is "Torbjörn Granlund" as the name seem like it could be the swedish name "Torbjörn". I believe the man page might spell his name this way because to avoid using non-ascii characters.