Other toolsBash

Linux – Disk Usage Report (Bash)

Summarize filesystem usage and highlight storage consumption.

Bash
#!/usr/bin/env bash
df -hT | awk 'NR==1 || $2!~/tmpfs|overlay/ {print}'
du -xh --max-depth=1 / | sort -h | tail -n 20
  

From Joseph Nakhle's automation workbench.

More Other tools scripts