File system quotas

SYSTEM INFORMATION
OS type and version UBUNTU 20.04
Webmin version 2.101
Virtualmin version 7.7
Related packages SUGGESTED

Is there any way to see whats taking up so much storage space under “root”?

Thank you!

du -h ~root
will give you directories

find
to give you files (but it will be a long list!)

maybe the OP wants to know what total files are owned by root so

find / -user root > root_files.txt

This creates a text file you can read through it or cat & grep it, but I guess the OP just wants the contents of the root’s ‘home’ directory (/root) TBF my root directory is really big (by design) and I get loads of entries from the find command

Thanks jimr1 for correcting my vague spur of the moment suggestion. I would use du first to find the biggest directory then find to see if anything more specific

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.