Check Directory/dir/file Size In Linux
Join the DZone community and get the full member experience.Join For Free
#check partition sizes df -h #check directory size du -s -h /var/log/ #check every directory and file sizes under a dir. du -s -h /var/log/* #check individual size size du -s -h /var/log/lastlog
Linux (operating system)
Opinions expressed by DZone contributors are their own.