Find large files on your linux server

10 Apr 2010

If you want to know which directories are using up your disk space try this command:

  $ cd /
  $ du -s -m *
  6	bin
  5	sbin
  1	srv
  5	tmp
  461	usr
  3407	var

It will list the number of megabytes reside in each directory (including all sub-directories recursively). You can run the command from anywhere. Thanks to: howtogeek.com