Sometimes it's 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 # or, another approach > 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