Du

De WikiMar
Dreceres ràpides: navegació, cerca

Contingut

du

No installation needed. Disk usage of the folder in the current folder:

du -sh *

How to sort by file or folder size

du ~/go | sort -n -r | less

ncdu

https://dev.yorhel.nl/ncdu


First Turn on EPLE repo for RHEL/CentOShttps://www.cyberciti.biz/faq/installing-rhel-epel-repo-on-centos-redhat-7-x/

yum install epel-release
yum repolist


yum install ncdu

How to use it: https://www.cyberciti.biz/open-source/install-ncdu-on-linux-unix-ncurses-disk-usage/

gdu

Faster specially with SSDs. But the binary has to be copied manually.

curl -L https://github.com/dundee/gdu/releases/latest/download/gdu_linux_amd64.tgz | tar xz
chmod +x gdu_linux_amd64
mv gdu_linux_amd64 /usr/bin/gdu


gt5

gt5 allows showing the differences since the last run.

https://gt5.sourceforge.net/


apt install gt5