You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Sometimes is useful to know the size of directories inside your $HOME - especially when your quota limit is reached.

You can easily calculate directory sizes using du:

> du -k * | sort -nr | cut -f2 | xargs -d '\n' du -sh

> du -s -h * | sort -h -r

In case you prefer to "walk" around and take a look at the whole directory structure, it might be useful to use ncdu.

You can access ncdu  after itmenv  is loaded:

> module load itmenv
> cd ~/public/itmdb
> ncdu

And that's how it looks like in the wild

  • No labels