Utils

Visual DISK Spce Repesentation

View what folders take up the most space on the drive

ncdu –exclude /mnt

All 404 sites from Apache2 Common Log format

cat $1 | awk ‘{ if($9 == 404) { print $7 } }’ | sort | uniq -c | sort -nr $2

  • $1 = Log File Path

  • $2 = Optional Top 10 filter: | tail -n10