du
Linux · System · available in the simulator
What it does
Estimate file or directory space usage.
Syntax
du [opciones] [archivo...]
Options and parameters
-aInclude files as well, not just directories.
-bApparent size in bytes.
-cProduce a grand total line.
-hPrint sizes in human-readable format.
du -h-sDisplay only a total for each argument.
du -sh /var/log--max-depthLimit the depth of directories displayed.
du -h --max-depth=1
Usage examples
du -h archivodu -sh carpetadu -ah .du -sh .du -ah --max-depth=1 /vardu -hdu -sh /var/logdu -h --max-depth=1