Find space hogs and prettify output using AWK

I really love awk. You might disagree and call me crazy, but while awk might be a royal brainfuck at first, here’s a very simple example of its power which should explain my endorsement. Figuring out space hogs Every once in a while I run out of diskspace on /home. Even though I am the only user on this laptop I’m always puzzled as of why and I start running du trying to figure out which install or program stole my diskspace....

September 18, 2010 · 3 min