LoginSignup
3
2

More than 5 years have passed since last update.

Unix コマンドラインでディスク消費量の適切なサマリーを得る

Last updated at Posted at 2012-11-25

du -s * としないのがポイントです。

hoge.sh
du /usr/lib | sort -n | tail
31424   /usr/lib/ghc-6.12.1/base-4.2.0.0
36348   /usr/lib/dri
38296   /usr/lib/python2.6
42356   /usr/lib/openoffice/basis3.2/share
106436  /usr/lib/ghc-6.12.1/ghc-6.12.1
204240  /usr/lib/openoffice/basis3.2/program
247276  /usr/lib/openoffice/basis3.2
248132  /usr/lib/openoffice
255332  /usr/lib/ghc-6.12.1
1265352 /usr/lib
$
3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2