Mailinglist Archive: opensuse-factory (508 mails)

< Previous Next >
Re: [opensuse-factory] ballooning /
  • From: Patrick Shanahan <paka@xxxxxxxxxxxx>
  • Date: Wed, 8 Dec 2010 23:17:34 -0500
  • Message-id: <20101209041734.GG9436@xxxxxxxxxxxxxxx>
* Felix Miata <mrmazda@xxxxxxxxxxxxx> [12-08-10 22:47]:
On 2010/12/08 20:01 (GMT-0500) Patrick Shanahan composed:

the unused man page says "--max-depth=N"

amazing information there :^)

Only the understandable part, which for me is most of it, since as
usual for man pages, examples are absent.

# du --max-depth=1K -k | sort -rn
4216219 .
3221524 ./usr
677585 ./var
140599 ./lib

again from the hard to read man pages:

-k like --block-size=1K

--max-depth=N
print the total for a directory (or file, with --all) only if
it is N or fewer levels below the command line argument;
--max-depth=0 is the same as --summarize

./user has 3221524 1k blocks
or 3221524 k
or 3.22154gb

man sort yealds
-r, --reverse
reverse the result of comparisons
-n, --numeric-sort
compare according to string numerical value

like biggest numbers first

but again, no examples, but for such simple things are examples really
necessary? If you find they would enhance the man pages sufficiently,
why don't you experiment with the parameters and concoct examples and
update the man pages?


--
Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711
http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535 @ http://counter.li.org
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >