To check Linux disk space use :
df -ha
To check Linux folder space use :
du -sh *
will not traverse any mount points it encounters. But if it is told to start at a mount point then it will do as requested.
du -shx *
for also hidden folder
du -sh .[^.]*
for hidden and not hidden
du -hs $(ls -A)
with threshold
du -h –threshold=10M .
du -h –threshold=10M –max-depth=0 * o du -h –threshold=10M –maxdepth=1 .
add | sort -n for sorting