ls -laSh /var/www/html
ls -laShr /var/www/html
ls -laShR /var/www/html
du -shc *
du -shc * | sort -h
du -shc * | sort -hr
The same, but with hidden files included.
du -sch .[!.]* *
du -Sh /var/www/html | sort -rh | head -10
du -a: show for all files and directories.
du -h: display sizes in human readable format (e.g., 1K, 234M, 2G).
du -s: show only a total for each argument (summary). Doesn't work with -a.
du -S: do not include the size of subdirectories.
du -x: skip directories on different file systems.
sort -r: reverse the result of comparisons.
sort -h: compare human readable numbers. This is GNU sort specific option only.
head -10 OR -n 10: show the first 10 lines.
df -h .