Tag Archives: awk

quick disk usage check

Here’s a quick one liner for checking your disk usage your current working directory (cwd): nice -n 19 du -ks * | sort -rn | awk ‘{print $1 “KB\t”, $1 / 1024 “MB\t”, $2 }’ Some sample output looks like: … Continue reading

Posted in software | Tagged , , | Leave a comment