#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
Very useful. Got it from here.
#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
Very useful. Got it from here.
df -h
tells you about your devices’ storage usagedu -sh <directory>
gives you an idea how much space a directory is using>/var/log/log.file