#!/bin/sh # Nico Schottelius, 2004 # find biggest directories #VDEV="/proc /sys /dev/pts /dev" # this is double VDEV="/proc /sys" DIR=/ [ $# -eq 1 ] && DIR=$1 du --max-depth=1 "$DIR" | sort -n