On Mon, 29 Jun 2020, Pete Biggs wrote:



# du -sh /*

Use 'du -xh --max-depth=1 /' it will clean up your output and show you
only things on the root partition.

Note the reason for -x .
-x is equivalent to --one-file-system .
It says that when searching from a directory,
include only descendants in the same filesystem.

Though rather unlikely, it is possible that none of /*
are in the same filesystem as / ,
hence the need for / rather than /* .

--
Michael   [email protected]
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
                                                             --  someeecards
_______________________________________________
CentOS mailing list
[email protected]
https://lists.centos.org/mailman/listinfo/centos

Reply via email to