Du: diferència entre les revisions

De WikiMar
Salta a la navegació Salta a la cerca
(Es crea la pàgina amb « ==du== No installation needed. Disk usage of the folder in the current folder: du -sh * ==ncdu== https://dev.yorhel.nl/ncdu First Turn on EPLE repo for RHEL/Cen...».)
 
 
(Hi ha una revisió intermèdia del mateix usuari que no es mostren)
Línia 4: Línia 4:
  du -sh *
  du -sh *


 
How to sort by file or folder size
du ~/go | sort -n -r | less


==ncdu==
==ncdu==
Línia 30: Línia 31:


https://gt5.sourceforge.net/
https://gt5.sourceforge.net/
apt install gt5

Revisió de 09:14, 13 juny 2023

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