/home » workblog

Entries for September, 2009

Find largest directories on a Linux box

These commands will return the largest 10 directories on a Linux box.

du -k / | sort -n | tail -10

via peterbe.com

Passing dates and times between PHP and MySQL

Richard Lord wrote a good article explaining the various ways of handling dates and times with PHP and MySQL.